DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32284

           Summary: Auto-redeploy not working for .war file with META-
                    INF/context.xml
           Product: Tomcat 5
           Version: 5.5.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I found that Tomcat 5.5.4 doesn't auto-redeploy .war files correctly if they 
have a META-INF/context.xml file. The .war file is auto-deployed the first 
time, but, it isn't redeployed when it is updated. I have created test files 
that can be used to reproduce the problem. The files are located at the 
following URLs.

http://parakeet.uchicago.edu/test-with-context.war
http://parakeet.uchicago.edu/test-without-context.war

Note, I tested this on the 11/16/04 nightly build and the problem occurs there 
too. Also, I tested it on Windows XP and Solaris and the behavior is the same 
on both platforms.

To reproduce the problem, perform the following steps on Linux or UNIX.

1. Start Tomcat 5.5.4 with the default configuration.
2. Open a second terminal window and run "tail -f 
$CATALINA_HOME/logs/catalina.out" this way you can see the log messages as the 
occur when the application is deployed. If you have log messages going 
elsewhere you may need to use a different file.
3. Copy both of the above files to the $CATALINA_HOME/webapps directory. 
You'll see that they both deploy in the logs.
4. Run the following command to make the application WITHOUT the context.xml 
redeploy. "touch $CATALINA_HOME/webapps/test-without-context.xml" You will see 
a log message stating that the application has been deployed.
5. Run the following command to make the application WITH the context.xml 
redeploy. "touch $CATALINA_HOME/webapps/test-with-context.xml" You will not 
see a log message.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to