[JBoss-dev] jboss-head status

Scott M Stark scott.stark at jboss.org
Thu Aug 24 12:03:51 EDT 2006


An example redeployment scenario that is consistently showing NPEs is 
redeploying the testsuite/output/lib/cts.jar. On every other deployment 
the JDBCStoreManager.start is throwing an NPE because it is being 
started without being created. When this happens the EjbModule is 
started with only a couple of its nested mbeans being in the Created state:

2006-08-24 10:39:15,751 DEBUG [org.jboss.ejb.EJBDeployer] start 
application, deploymentInfo: 
org.jboss.deployment.DeploymentInfo at b50e1979 { 
url=file:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta/server/default/deploy/cts.jar 
}
  deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
  status: Starting
  state: START_DEPLOYER
  watch: 
file:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta/server/default/deploy/cts.jar
  altDD: null
  lastDeployed: 1156433955350
  lastModified: 1156433955000
  mbeans:
    jboss.j2ee:jndiName=ejbcts/BMPBean,service=EJB state: Registered
    jboss.j2ee:jndiName=ejbcts/BMPCallbackBean,service=EJB state: Registered
    jboss.j2ee:jndiName=ejbcts/CMPBean,service=EJB state: Registered
    jboss.j2ee:jndiName=ejbcts/CMPBeanOptionD,service=EJB state: Registered
    jboss.j2ee:jndiName=ejbcts/CMPBean2,service=EJB state: Registered
    jboss.j2ee:jndiName=ejb/EJBTestRunner,service=EJB state: Registered
    jboss.j2ee:jndiName=ejbcts/StatelessSessionHome,service=EJB state: 
Registered
    jboss.j2ee:jndiName=ejbcts/StatefulSessionBean,service=EJB state: 
Registered
    jboss.j2ee:jndiName=ejbcts/BMTStatefulSessionBean,service=EJB state: 
Registered
    jboss.j2ee:jndiName=ejbcts/FacadeStatefulSessionBean,service=EJB 
state: Registered
    jboss.j2ee:jndiName=ejbcts/StrictlyPooledStatelessBean,service=EJB 
state: Registered
    
jboss.j2ee:jndiName=ejbcts/StrictlyPooledCreateExceptionBean,service=EJB 
state: Registered
    jboss.j2ee:jndiName=ejbcts/StrictlyPooledStatefulBean,service=EJB 
state: Registered
    jboss.j2ee:jndiName=ejbcts/CallerSessionHome,service=EJB state: 
Registered
    jboss.j2ee:jndiName=ejbcts/CalleeSessionHome,service=EJB state: 
Registered
    jboss.j2ee:jndiName=ejbcts/LongWaitStatefulSessionBean,service=EJB 
state: Registered
    jboss.j2ee:jndiName=local/StrictlyPooledMDB at 1401695927,service=EJB 
state: Created
    jboss.j2ee:jndiName=local/SubclassMDB at 1401696031,service=EJB state: 
Created
, short name: cts.jar, parent short name: null
2006-08-24 10:39:15,751 DEBUG [org.jboss.system.ServiceController] 
starting service jboss.j2ee:service=EjbModule,module=cts.jar

On a successful deployment all of the nested mbeans are in the Created 
state:

2006-08-24 10:38:13,766 DEBUG [org.jboss.ejb.EJBDeployer] start 
application, deploymentInfo: 
org.jboss.deployment.DeploymentInfo at b50e1979 { 
url=file:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta/server/default/deploy/cts.jar 
}
  deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
  status: Starting
  state: START_DEPLOYER
  watch: 
file:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta/server/default/deploy/cts.jar
  altDD: null
  lastDeployed: 1156433892300
  lastModified: 1156433892000
  mbeans:
    jboss.j2ee:jndiName=ejbcts/BMPBean,service=EJB state: Created
    jboss.j2ee:jndiName=ejbcts/BMPCallbackBean,service=EJB state: Created
    jboss.j2ee:jndiName=ejbcts/CMPBean,service=EJB state: Created
    jboss.j2ee:jndiName=ejbcts/CMPBeanOptionD,service=EJB state: Created
    jboss.j2ee:jndiName=ejbcts/CMPBean2,service=EJB state: Created
    jboss.j2ee:jndiName=ejb/EJBTestRunner,service=EJB state: Created
    jboss.j2ee:jndiName=ejbcts/StatelessSessionHome,service=EJB state: 
Created
    jboss.j2ee:jndiName=ejbcts/StatefulSessionBean,service=EJB state: 
Created
    jboss.j2ee:jndiName=ejbcts/BMTStatefulSessionBean,service=EJB state: 
Created
    jboss.j2ee:jndiName=ejbcts/FacadeStatefulSessionBean,service=EJB 
state: Created
    jboss.j2ee:jndiName=ejbcts/StrictlyPooledStatelessBean,service=EJB 
state: Created
    
jboss.j2ee:jndiName=ejbcts/StrictlyPooledCreateExceptionBean,service=EJB 
state: Created
    jboss.j2ee:jndiName=ejbcts/StrictlyPooledStatefulBean,service=EJB 
state: Created
    jboss.j2ee:jndiName=ejbcts/CallerSessionHome,service=EJB state: Created
    jboss.j2ee:jndiName=ejbcts/CalleeSessionHome,service=EJB state: Created
    jboss.j2ee:jndiName=ejbcts/LongWaitStatefulSessionBean,service=EJB 
state: Created
    jboss.j2ee:jndiName=local/StrictlyPooledMDB at 1389911497,service=EJB 
state: Created
    jboss.j2ee:jndiName=local/SubclassMDB at 1389870999,service=EJB state: 
Created
, short name: cts.jar, parent short name: null
2006-08-24 10:38:13,767 DEBUG [org.jboss.system.ServiceController] 
starting service jboss.j2ee:service=EjbModule,module=cts.jar

I'm tracking down where the state tracking is getting out of synch.




More information about the jboss-development mailing list