Ok, I think I have found the problem, and I am guessing the following is
happening:

19-Jan-2001 15:10:44 StandardHost[localhost]: Undeploying web application at
context path /struts-test
19-Jan-2001 15:10:44 StandardHost[localhost]: Removing expanded directory
c:\java\tomcat-4.1\webapps\struts-test

 * the container is trying to undeploy the application
   ( hey I didn't even know this happened ;) because it was
   deployed from a .war file.

19-Jan-2001 15:10:44 HostConfig[localhost] Error undeploying web application
at context path /struts-test
java.io.IOException: Cannot delete file
c:\java\tomcat-4.1\webapps\struts-test\WEB-INF\lib\struts.jar
 at org.apache.catalina.core.StandardHost.remove(StandardHost.java:794)

 * Win2k is not allowing the container to delete a library file
   that it thinks is currently in use ( struts.jar in this case ).

19-Jan-2001 15:11:06 StandardHost[localhost]: Deploying web application at
context path /struts-test from URL
file:C:\java\tomcat-4.1\webapps\struts-test


  * catalina finds the struts-test directory and doesn't re-deploy the
    application from the .war file.

If I shutdown, delete the expanded directories, and restart, the .war files
deploy normally:

19-Jan-2001 15:56:26 StandardHost[localhost]: Recording expanded app at path
/struts-test
19-Jan-2001 15:56:26 StandardHost[localhost]: Deploying web application at
context path /struts-upload from URL
jar:file:C:\java\tomcat-4.1\webapps\struts-upload.war!/
19-Jan-2001 15:56:26 StandardHost[localhost]:
expand(jar:file:C:\java\tomcat-4.1\webapps\struts-upload.war!/)
19-Jan-2001 15:56:26 StandardHost[localhost]:   Proposed directory name:
struts-upload
...

I will try to dig into this more later tonight/this weekend. Any
further hints/ideas would be appreciated :)

David Weinrich


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

Reply via email to