[jboss-jira] [JBoss JIRA] Created: (JBAS-5790) URLDeploymentScanner should undeploy the deployed urls during stopService()
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Tue Jul 22 10:50:15 EDT 2008
URLDeploymentScanner should undeploy the deployed urls during stopService()
---------------------------------------------------------------------------
Key: JBAS-5790
URL: https://jira.jboss.org/jira/browse/JBAS-5790
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployers
Affects Versions: JBossAS-4.2.3.GA
Reporter: Adrian Brock
The URLDeploymentScanner should remove the deployed urls when stopService() is invoked.
Something like:
protected void stopService()
{
// Tell the super class to suspend the scanning thread
super.stopService();
// Clone the list to avoid concurrent modification problem
LinkedList<DeployedURL> urlsToRemove = new LinkedList<DeployedURL>(deployedSet);
boolean trace = log.isTraceEnabled();
for (DeployedURL deployedURL : urlsToRemove)
{
if (trace)
log.trace("Removing " + deployedURL.url);
undeploy(deployedURL);
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list