RE: Tomcat 5.5 Context Files

2006-05-30 Thread Chris Walker
et me know. Regards, Chris -Original Message- From: Tom Miller [mailto:[EMAIL PROTECTED] Sent: 30 May 2006 17:21 To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Tomcat 5.5 Context Files Chris, I have been looking for the same solution. Can you share what you had learn? W

Re: Tomcat 5.5 Context Files

2006-05-30 Thread Tom Miller
t;From: Chris Walker <[EMAIL PROTECTED]> >Subject: Re: Tomcat 5.5 Context Files >To: Tomcat Users List > >After following up the advice from David and others, I >think I've got the configuration I need. I'm posting >a minimal version of the setup as it seems t

Re: Tomcat 5.5 Context Files

2006-05-30 Thread Chris Walker
After following up the advice from David and others, I think I've got the configuration I need. I'm posting a minimal version of the setup as it seems to me that this might be a fairly common requirement: - I'm running two applications on a single server; each has its own domain name. - Within

Re: Tomcat 5.5 Context Files

2006-05-30 Thread David Smith
Some thoughts: 1. The naming of all the associated files with your webapp should be consistent with the path attribute of the context element (assuming ibo4 is it's name): Context xml file should be named ibo4.xml The webapp's directory should be named ibo4 If deploying from a .war fil

Re: Tomcat 5.5 Context Files

2006-05-30 Thread Chris Walker
Thanks Mark. I noticed that, but my objective is to store configuration parameters that are platform-specific outside the webapp. The stuff in the server's context definitions nicely overrides anything in web.xml. Chris --- Mark Petrovic <[EMAIL PROTECTED]> wrote: > Hi. > > Context fragments

Re: Tomcat 5.5 Context Files

2006-05-29 Thread Markus Schönhaber
Chris Walker wrote: > I have just migrated a family of webapps from Tomcat 4 to Tomcat 5.5. It's > working OK, but reading through the documentation I see there is a > recommendation that I remove the sections from server.xml and put > them in files in {catalina_root}/conf/[engine]/[Host]. > > Bu

Re: Tomcat 5.5 Context Files

2006-05-29 Thread Mark Petrovic
Incidentally, I, too, have found the "path" and "docBase" attributes to be tricky in Tomcat. I fiddle with them until I get the desired result (ugh), but the language describing them has never helped me much in figuring out why what works actually works. On 5/29/06, Mark Petrovic <[EMAIL PROTECT

Re: Tomcat 5.5 Context Files

2006-05-29 Thread Mark Petrovic
Hi. Context fragments can also be put in your webapp's META-INF directory, per the 4th bullet item here http://tomcat.apache.org/tomcat-5.5-doc/config/context.html E.g., pluto:PGCRM> jar tf dist/crmrpc.war |head -3 META-INF/ META-INF/MANIFEST.MF META-INF/context.xml where context.xml contains

Tomcat 5.5 Context Files

2006-05-29 Thread Chris Walker
Hello, I have just migrated a family of webapps from Tomcat 4 to Tomcat 5.5. It's working OK, but reading through the documentation I see there is a recommendation that I remove the sections from server.xml and put them in files in {catalina_root}/conf/[engine]/[Host]. But when I do this I find