Howdy,
You can specify a different appBase for your Host in server.xml, and put
the myapp.xml file in the appBase directory.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Riaan Oberholzer [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, December 30, 2003 8:09 AM
>To: [EMAIL PROTECTED]
>Subject: [Q] context and war file locations
>
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to