geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mansoor (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1812) When already deployed application is hot deployed once gain , Server doesn't delete the module from hot deployed directory
Date Thu, 06 Apr 2006 06:20:52 GMT
When already deployed application is hot deployed once gain , Server doesn't delete the module
from hot deployed directory
--------------------------------------------------------------------------------------------------------------------------

         Key: GERONIMO-1812
         URL: http://issues.apache.org/jira/browse/GERONIMO-1812
     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


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


Mime
View raw message