context and war file locations 2003-12-30 - By Riaan Oberholzer
Back I have an application context file "myapp.xml" which is currently in the /webapps dir of Tomcat.
The war file is some other place, not Tomcat related, but correctly referred to by the context file.
Is it possible to place *both* files outside of the Tomcat structures and still get the application to work? It does when I deploy it using the catalina ant tasks, but when Tomcat restarts, my app is not found anymore and I have to redeploy it. I would expect that behaviour, as I don't think Tomcat keeps track of where context files are located... it just checks in the webapps dir (is my guess, hope I'm wrong).
I need this feature, as I am going to deploy on a 3rd party machine and they only create a home directory for my stuff and I have to put everything in there. I'm not allowed to add anything to the tomcat dirs.
Thanks!
__ ____ ____ ____ ____ ____ ______ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|