0 Replies Latest reply on Feb 1, 2004 3:29 PM by mburke

    mbean already registered

    mburke Newbie

      I'm getting the above exception when deplooying an ear file. The ear file contains a rar file with a *-ds file which contains a jndi name that's causing the exception:

      2004-02-01 15:02:39,528 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: META-INF
      2004-02-01 15:02:39,528 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/home/mburke/temp/jboss-3.2.1/server/default/deploy/META-INF/
      2004-02-01 15:02:39,573 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/home/mburke/temp/jboss-3.2.1/server/default/deploy/META-INF/ -> file:/home/mburke/temp/jboss-3.2.1/server/default/deploy/META-INF/
      2004-02-01 15:02:39,574 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@efcccaaf { url=file:/home/mburke/temp/jboss-3.2.1/server/default/deploy/jpoxjbex.ear }
      deployer: org.jboss.deployment.EARDeployer@3c342b
      status: Deployment FAILED reason: create operation failed for package file:/home/mburke/temp/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/jpoxjbex.ear/25.jpoxjbex.ear-contents/jpox-ds.xml; - nested throwable: (org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=TxCM,name=jdo/jpox)
      state: FAILED
      watch: file:/home/mburke/temp/jboss-3.2.1/server/default/deploy/jpoxjbex.ear
      lastDeployed: 1075665748684
      lastModified: 1075665746000
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.jca:service=TxCM,name=jdo/jpox
      state: CREATED
      I Depend On: jboss.jca:service=ManagedConnectionPool,name=jdo/jpox
      jboss.jca:service=CachedConnectionManager
      jboss:service=TransactionManager

      Depends On Me: , ObjectName: jboss.jca:service=ManagedConnectionPool,name=jdo/jpox
      state: CREATED
      I Depend On: jboss.jca:service=ManagedConnectionFactory,name=jdo/jpox

      Depends On Me: jboss.jca:service=TxCM,name=jdo/jpox
      , ObjectName: jboss.jca:service=ManagedConnectionFactory,name=jdo/jpox
      state: CREATED
      I Depend On: jboss.jca:service=RARDeployment,name=JPOX Connector

      Depends On Me: jboss.jca:service=ManagedConnectionPool,name=jdo/jpox
      , ObjectName: jboss.jca:service=RARDeployment,name=JPOX Connector
      state: CREATED
      I Depend On:
      Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=jdo/jpox

      the ear had been deploying without this exception but I had a classloader problem and tried putting one on the jar files in the rar in jboss/server/lib. I deleted the jar in server/lib and am still getting this error, I don't know why jboss is trying to deploy jdo/jpox jndi name twice.