Details
-
Bug
-
Resolution: Obsolete
-
Major
-
JBossAS-4.0.4.GA
-
None
-
None
Description
when a ear is deployed on jboss, a J2EEApplication is created and ejb objectname is added to its moduleNames and to J2EEServer`s deployedObjects in create method. Then the ear is started and a new J2EEApplication is created. and create method are called again. So the ejb objectname is added to J2EEServer`s deployedObjects twice.
When the ear is undeployed, it`s ejb modules are removed from J2EEServer`s deployedObjects once and there are one objectname of the ejb left. now Now open the JBoss Web console. JBoss displays errors:
10:46:55,484 INFO [EARDeployer] Undeploying J2EE application, destroy step: fil e:/C:/jboss-4.0.4.GA/server/default/deploy/JMSatobApp.ear 10:46:55,484 INFO [EARDeployer] Undeployed J2EE application: file:/C:/jboss-4.0 .4.GA/server/default/deploy/JMSatobApp.ear 10:46:55,500 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager ' jboss.jca:service=DataSourceBinding,name=/vitria/bw/app001/ds/testds1(XA)' from JNDI name 'java:/vitria/bw/app001/ds/testds1(XA)' 10:46:56,031 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager ' jboss.jca:service=DataSourceBinding,name=/vitria/bw/app001/ds/testds1' from JNDI name 'java:/vitria/bw/app001/ds/testds1' 12:18:37,718 ERROR [STDERR] javax.management.InstanceNotFoundException: jboss.ma nagement.local:J2EEApplication=FileToFileApplication.ear,J2EEServer=Local,j2eeTy pe=EJBModule,name=FileToFileApplication-ejb.jar is not registered. 12:18:37,890 ERROR [STDERR] at org.jboss.mx.server.registry.BasicMBeanRegist ry.get(BasicMBeanRegistry.java:523)