User: d_jencks
Date: 02/04/11 22:01:39
Modified: src/main/org/jboss/system/server ServerImpl.java
Log:
fixed exception on shutdown from SARDeployer
Revision Changes Path
1.15 +6 -6 jboss-system/src/main/org/jboss/system/server/ServerImpl.java
Index: ServerImpl.java
===================================================================
RCS file:
/cvsroot/jboss/jboss-system/src/main/org/jboss/system/server/ServerImpl.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ServerImpl.java 4 Apr 2002 22:21:48 -0000 1.14
+++ ServerImpl.java 12 Apr 2002 05:01:39 -0000 1.15
@@ -47,7 +47,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a>
- * @version $Revision: 1.14 $
+ * @version $Revision: 1.15 $
*/
public class ServerImpl
implements Server, ServerImplMBean
@@ -287,6 +287,11 @@
new Object[] { mainDeployer },
new String[] { ObjectName.class.getName() });
+ server.invoke(controllerName,
+ "start",
+ new Object[] { mainDeployer },
+ new String[] { ObjectName.class.getName() });
+
// Install the shutdown hook
shutdownHook = new ShutdownHook(controllerName);
try
@@ -321,11 +326,6 @@
new Object[] { config.getServerConfigURL() +
"jboss-service.xml" },
new String[] { String.class.getName() });
- server.invoke(controllerName,
- "start",
- new Object[] { mainDeployer },
- new String[] { ObjectName.class.getName() });
-
// Calculate how long it took
long lapsedTime = System.currentTimeMillis() - startDate.getTime();
long minutes = lapsedTime / 60000;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development