4 Replies Latest reply on Oct 3, 2003 4:31 PM by Chuck Harris

    migrate mbean from 2.4 to 3.2.2

    Chuck Harris Newbie

      I am migrating from jboss 2.4.1 to jboss 3.2.2. I have to 2 mbeans defined in the jcml file. Currently, the classes (Both extend org.jboss.util.ServiceMBeanSupport) are in one jar that contain many other classes.







      AFSP?_xql(1,1)=FuelTransaction[ConfirmationNum='#CONFNUM#'%20and%20Sequence='#SEQN#']

      600S
      40S


      How do I migrate these? I created 2 -service.xml based on user-service.xml and the jcml and copied them into the deploy dir. I created separate jars for each:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server>







      AFSP?_xql(1,1)=FuelTransaction[ConfirmationNum='#CONFNUM#'%20and%20Sequence='#SEQN#']

      600S
      40S



      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server>






      but an exception (i tried to attach a file with hten exception but the attach page woas not working) is thrown when jboss starts. The incomplete deployments are:
      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@7760f90f { url=file:/C:/packages/jboss-3.2.2RC3/server/default/deploy/entirexserver-service.xml }
      deployer: org.jboss.deployment.SARDeployer@763f5d
      status: Deployment FAILED reason: create operation failed for package file:/C:/packages/jboss-3.2.2RC3/server/default/deploy/entirexserver-service.xml; - nested throwable: (javax.management.InstanceNotFoundException: DefaultDomain:service=BOE,name=services/boe/BOEEntireXServer is not registered.) state: FAILED
      watch: file:/C:/packages/jboss-3.2.2RC3/server/default/deploy/entirexserver-service.xml
      lastDeployed: 1065127614562
      lastModified: 1065127614542
      mbeans:
      DefaultDomain:service=BOE,name=services/boe/BOEEntireXServer (state not available)
      , org.jboss.deployment.DeploymentInfo@9baa4a01 { url=file:/C:/packages/jboss-3.2.2RC3/server/default/deploy/entirexservice-service.xml }
      deployer: org.jboss.deployment.SARDeployer@763f5d
      status: Deployment FAILED reason: create operation failed for package file:/C:/packages/jboss-3.2.2RC3/server/default/deploy/entirexservice-service.xml; - nested throwable: (javax.management.InstanceNotFoundException: DefaultD
      omain:service=BOE,name=services/boe/EntirexServiceSettings is not registered.)
      state: FAILED
      watch: file:/C:/packages/jboss-3.2.2RC3/server/default/deploy/entirexservice-service.xml
      lastDeployed: 1065127614652
      lastModified: 1065127614632
      mbeans:
      DefaultDomain:service=BOE,name=services/boe/EntirexServiceSettings (state not available)
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: DefaultDomain:service=BOE,name=services/boe/BOEEntireXServer
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: , ObjectName: DefaultDomain:service=BOE,name=services/boe/EntirexServiceSettings
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: ]

      What do I need to do to get these mbeans to start correctly?