Simon Smith created AXIS2-5498:
----------------------------------

             Summary: ServiceDeployer.undeploy() fails to remove the entry from 
deploymentFileDataMap
                 Key: AXIS2-5498
                 URL: https://issues.apache.org/jira/browse/AXIS2-5498
             Project: Axis2
          Issue Type: Bug
          Components: deployment
    Affects Versions: 1.6.2
            Reporter: Simon Smith
            Priority: Minor


In AbstractDeployer.deploy(), the DeploymentFileData instance is added to the 
Map using the absolute path of the service file (.aar). However 
ServiceDeployer.undeploy() passes the service name instead of the absolute path 
to super.undeploy() which means nothing is removed from the Map.

The result is a leaked reference to the service's classloader, which cannot be 
garbage-collected (unless the service is redeployed, in which case the Map 
entry is replaced and the original classloader becomes eligible for collection).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to