[ http://issues.apache.org/jira/browse/GERONIMO-1813?page=all ]
Mansoor updated GERONIMO-1813: ------------------------------ Attachment: hotdeploy_patch1_06042006.txt The patch basically deletes the asset from deploy directory ,which got failed to hot deploy successfully , this can also give the clear view to users of geronimo application server > When already deployed application is hot deployed once gain , Server doesn't > delete the module from hot deployed directory > -------------------------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-1813 > URL: http://issues.apache.org/jira/browse/GERONIMO-1813 > Project: Geronimo > Type: Bug > Security: public(Regular issues) > Components: Hot Deploy Dir > Versions: 1.1 > Environment: Win2k , JDK 1.4.2 > Reporter: Mansoor > Priority: Minor > Attachments: hotdeploy_patch1_06042006.txt > > Hi , > Problem : > When already an application module say (hello.war) is deployed (either > by using manually or hot deploy procedure ) , And when some one try to hot > deploy the same application with same or different name ( say hello.war | > hello2.war | hello2 directory ) , the server throws an exception saying > there exists already an application deployed , But doesn't delete the module > ( hello.war | hello2.war | hello2 directory) from hot deploy directory . > Thus the next time the server starts , it tries to deploy the same module > once again. > Here i have a piece of code put into DirectoryHotDeployer.java file , which > can solve the above issue and also to some extend users can get clean picture. > Basically it deletes the asset from deploy directory ,which got failed to hot > deploy -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira