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=28262>.
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=28262

Fix autodeploy bug at CVS HEAD

           Summary: Fix autodeploy bug at CVS HEAD
           Product: Tomcat 5
           Version: 5.0.21
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hey,

at 5.0.19 release the dir and war autodeploy feature don't work
but the current cvs head (07.04.2004) has a fix.

After test I see a strange behavior.

first example or bug
====================
start tomcat
copy dir or war to webapps
wait 1 sec
look a manager app 
OK. Apps are deploy and ready.
remove dir or war with the manager app

Result:
dir is deleted but war's not !
  work dir or context.xml removed
  HostConfig not closed a jar pointer. (s. Patch)

next example
============
start tomcat
copy dir or war to webapps
wait 1 sec
look a manager app 
OK. Apps are deploy and ready.
remove dir or war with the manager app
wait 1 sec
copy dir or war again to webapps
Hups. Autodeployment not work anymore

I look at HostConfig and see that all autodeploy xml,dirs and wars
registered at deployed list but not delete.

I add a checkRemoveApps() method and call it inside check().

Now second szenario work correct.

Regards
Peter

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

Reply via email to