2010/5/29 Pid <p...@pidster.com>: > On 28/05/2010 19:07, Jeff Ramin wrote: >> >> Running tomcat 5.5.20. >> >> Is there a way to configure tomcat such that it is aware of a webapp >> (context), >> but doesn't start it (process requests) when tomcat starts? > > Kinda. Examine the docs, look at the Host and Context attributes, for > 'deployOnStartup', 'autoDeploy' and 'reloadable'. Depending on what you > need it might be all-or-nothing situation though. >
It is possible to turn off auto-deploy (autoDeploy, deployOnStartup), i.e. the webapplication will be present in webapps folder, but it will not be running, nor will it be listed by Tomcat Manager. Deploying a webapplication, though, always starts it. If a webapplication is included as a <Context> element in server.xml (usually not recommended), it is always deployed and started when server starts, regardless of deployOnStartup option. Besides the documentation, you may also want to look at the archives of this list. deployOnStartup/autoDeploy were discussed several times. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org