This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a couple of applications under webapps folder and by default all applications are loaded/started when I start my tomcat. I would like to know how to load/start only applications that I want at any given time. Is there some configuration to be done to achieve this.
You could set the autoDeploy attribute to false in your server.xml's Host section and then explicitly configure the apps that you want to run via context entries in server.xml (or the newer context fragment files in tomcat/conf/Catalina/localhost).
Stopping them from the manager app won't keep them from starting when Tomcat restarts. Undeploy will keep them from starting but it does this by deleting the entire directory which is probably not what you would want.
I have similar problem but somewhat different I wanted my application not to deploy if it do not find some system property defined.
I am using WAS (Websphere Application Server). Though I am throwing SystemPropertyNotFoundException (which extends InternalError) from context initialized method of listener, it is getting catched by deployment manager (the Error should not be catched) attached screenshot for details. Please help me out n what could be wrong