User: d_jencks
Date: 02/02/26 15:45:04
Modified: src/main/org/jboss/deployment MainDeployer.java
Log:
made MainDeployer stop scanning before it undeploys everything on shutdown.
Revision Changes Path
1.10 +4 -1 jboss-system/src/main/org/jboss/deployment/MainDeployer.java
Index: MainDeployer.java
===================================================================
RCS file:
/cvsroot/jboss/jboss-system/src/main/org/jboss/deployment/MainDeployer.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- MainDeployer.java 26 Feb 2002 05:15:02 -0000 1.9
+++ MainDeployer.java 26 Feb 2002 23:45:04 -0000 1.10
@@ -48,7 +48,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a>
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class MainDeployer
extends ServiceMBeanSupport
@@ -266,6 +266,9 @@
*/
public void shutdown()
{
+ running = false;
+ //if we shutdown in the middle of a scan, it still might be possible that we
try to redeploy
+ //things we are busy killing...
int deployCounter = 0;
//undeploy everything in sight
List copyDeployments = new ArrayList(deploymentsList);
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development