fixed tomcat extra resource bases on war