tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Reger, Jr." <...@joereger.com>
Subject Tomcat WAR Deployment Issue with 5.0.6
Date Thu, 07 Aug 2003 18:09:03 GMT

Two WAR files.  Exactly the same, but with different names:

myApp-(bld1035)-2003-08-07-(01-33-55PM).war
myApp.war

Both WARs have the same /META-INF/context.xml file with the line:
<Context path="/myApp" docBase="myApp" debug="1" reloadable="true"
crossContext="true">

On a clean Tomcat 5.0.6 I use /manager's "Select WAR file to upload"
feature, upload the first WAR (myApp-(bld1035)-2003-08-07-(01-33-55PM).war)
and click Deploy.  It doesn't work.  Two applications are created.  One
called "myApp" and one called "myApp-(bld1035)-2003-08-07-(01-33-55PM)".
Neither works.  "myApp" has the context but no files.
"myApp-(bld1035)-2003-08-07-(01-33-55PM)" has the files but no context.

That's odd.

So I clean up Tomcat (removing the apps, remove the
/conf/Catalina/localhost/myApp.xml file, restart Tomcat, etc.) and then
upload "myApp.war" (the exact same file, just renamed) and it works
correctly.

With Tomcat 5.0.2 there was no dependency on the name of the WAR file
itself.

Any ideas?

Joe


Mime
View raw message