Some times ago, I wrote a HowTo deploy on Tomcat 5.5 (with an example) and I put it here : http://issues.apache.org/bugzilla/show_bug.cgi?id=35063
This doc is for Tomcat 5.5 but, perhaps, you'll find your answer for Tomcat 4 ... On Thu, 20 Oct 2005 21:48:13 +0200 Alexander Eller <[EMAIL PROTECTED]> wrote: > Hello list users, > > after searching the documenation and the internet, I finally ask the > list for help: I want to deploy an application as a war file. As I need > to configure JNDI Resources (datasources), I want to use a > context-specific xml file instead of modifying server.xml. But I can't > get it working. > If I've a WAR-File and a context-specific xml file in the > webapps-directory, the war file is deployed automatic (i.e. decompressed > ), but the context-specific xml-file is ignored. After searching the > net, I tried to put my context-specific file as context.xml in META-INF > of the WAR, but that does not work (it seems, thats an option for TC 5 > and above only). > > How can I deploy my App as a WAR file _and_ use a context specific xml file? > > I use Tomcat 4.1.30 with JDK 1.4.2_08 > > thank you for your answers > Alexander > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]