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


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

Reply via email to