Still having some issues with the setup, the test.ear doesn't deploy
right... will try to fix this in the coming hours

marcf

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of marc
|fleury
|Sent: Saturday, February 02, 2002 8:52 AM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-dev] CVS update: jboss/src/main/org/jboss/deployment
|EARDeployer.java
|
|
|  User: mnf999
|  Date: 02/02/02 08:52:09
|
|  Modified:    src/main/org/jboss/deployment EARDeployer.java
|  Log:
|  Registration
|
|  Revision  Changes    Path
|  1.2       +29 -3     jboss/src/main/org/jboss/deployment/EARDeployer.java
|
|  Index: EARDeployer.java
|  ===================================================================
|  RCS file:
|/cvsroot/jboss/jboss/src/main/org/jboss/deployment/EARDeployer.java,v
|  retrieving revision 1.1
|  retrieving revision 1.2
|  diff -u -r1.1 -r1.2
|  --- EARDeployer.java 2002/01/20 03:41:33     1.1
|  +++ EARDeployer.java 2002/02/02 16:52:09     1.2
|  @@ -49,7 +49,7 @@
|   /**
|   *
|   * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
|  -* @version $Revision: 1.1 $
|  +* @version $Revision: 1.2 $
|   */
|   public class EARDeployer
|   extends ServiceMBeanSupport
|  @@ -181,13 +181,39 @@
|
|      protected void startService() throws Exception
|      {
|  -      log.info("EARDeployer online");
|  +      try
|  +      {
|  +         // Register with the main deployer
|  +         server.invoke(
|  +            new
|ObjectName(org.jboss.deployment.MainDeployerMBean.OBJECT_NAME),
|  +            "addDeployer",
|  +            new Object[] {this},
|  +            new String[] {"org.jboss.deployment.DeployerMBean"});
|  +      }
|  +      catch (Exception e) {log.error("Could not register with
|MainDeployer", e);}
|  +
|  +      log.info("EARDeployer started");
|      }
|
|  +
|  +
|  +
|      /** undeploys all deployments */
|      protected void stopService()
|      {
|  -      log.info("EARDeployer offline");
|  +      log.info("EARDeployer stopped");
|  +
|  +      try
|  +      {
|  +         // Register with the main deployer
|  +         server.invoke(
|  +            new
|ObjectName(org.jboss.deployment.MainDeployerMBean.OBJECT_NAME),
|  +            "removeDeployer",
|  +            new Object[] {this},
|  +            new String[] {"org.jboss.deployment.DeployerMBean"});
|  +      }
|  +      catch (Exception e) {log.error("Could not register with
|MainDeployer", e);}
|  +
|      }
|
|      // Private -------------------------------------------------------
|
|
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to