Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. 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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • No Release
    • 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            wangxueying_jira xueying wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: