Hello,

I recently upgraded from Tomcat 5.0.19 to Tomcat 5.0.28.

I am now running into a conflict between ROOT.xml and ROOT.war.

This happens when I deploy to production:
1. I delete the ROOT.war and ROOT directory from /usr/local/tomcat/webapps
2. I delete the ROOT.xml context configuration file in 
/usr/local/tomcat/conf/Catalina/localhost
3. I then copy the new ROOT.war file to /usr/local/tomcat/webapps
4. I copy the new ROOT.xml file to /usr/local/tomcat/conf/Catalina/localhost

This used to work fine in Tomcat 5.0.19.  Now, in 5.0.28, when I startup
the server, I get the following error:

INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina].StandardHost[localhost].StandardContext[]

And the new ROOT.war file is never expanded (which is why ROOT.xml can't
find web.xml).

The only way to get the .war file to expand, is to temporarily remove the
ROOT.xml file, startup the server (which then expands the .war file), and
then copy the ROOT.xml file over.

The reason I'm using the ROOT.xml file is to setup DBCP for this webapp
only.  In theory, it's not updated often, but when updates occur, it
would be copied over during this process, which is why I do it in my
deployment script.

What happened since Tomcat 5.0.19 to make it not expand the ROOT.war
archive at the same time that it's processing a new ROOT.xml file?

Thank you,
-Raiden Johnson

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

Reply via email to