[jboss-jira] [JBoss JIRA] Created: (JBAS-3853) deploy and then undeploy a ear with ejb modules, the object name of the ejb is left in deployedObjects of j2eeType=J2EEServer,name=Local
xy wang (JIRA)
jira-events at jboss.com
Tue Nov 14 03:00:41 EST 2006
deploy and then undeploy a ear with ejb modules, the object name of the ejb is left in deployedObjects of j2eeType=J2EEServer,name=Local
-----------------------------------------------------------------------------------------------------------------------------------------
Key: JBAS-3853
URL: http://jira.jboss.com/jira/browse/JBAS-3853
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-4.0.4.GA
Environment: jdk1.5 + xp
Reporter: xy wang
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list