Since you are using the manager app to deploy your war files, there is no need to keep the war files in the webapps directory. Make a separate directory outside of /www/webapps, perhaps /www/war. Then Tomcat won't find them when it starts up.
Jeff ----- Original Message ----- From: "bryan collins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 12:15 AM Subject: Persistent Context names with auto-deploy > Hi, > > I have an environment that serves requests via apache, on Solaris. > I have configured Tomcat 4.0.3 with mod_jk, most things appear to be working > just fine. > > Apache is configured to pass /apps/* to tomcat via ajp13 protocol. > Tomcat is configured with an appbase of /www/webapps > > I automatically deploy my .war files on paths of /apps/servletname > so I can have completely independant contexts for each servlet. > > This works, and I can access the app via apache. > However, when tomcat restarts, it finds the servlet in the appbase, since > unpackWARS=true, and automatically deploys it under / > > My question is, How can I force persistance of Context paths across a Tomcat > restart, when using automatic deploy (via the manager app) > > i.e > auto-deploy foo.war on /apps/foo (via manager) > TC extracts the war to /www/webapps/foo, everything works perfectly. > After TC restart, TC deploys the servlet as /foo, not /apps/foo. > > Any ideas? > > Many Thanks > Bry > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>