[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1539) NPE if SFSB is declared as clustered via XML with no other config

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Oct 22 14:28:20 EDT 2008


NPE if SFSB is declared as clustered via XML with no other config
-----------------------------------------------------------------

                 Key: EJBTHREE-1539
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1539
             Project: EJB 3.0
          Issue Type: Bug
          Components: Clustering
            Reporter: Brian Stansberry


Marking an SFSB as clustered solely via <clustered>true</clue> is leading to NPE:

13:24:09,405 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=bank.jar,jar=bank.jar,name=Bank,service=EJB3 state=Create
java.lang.AssertionError: ClusterConfigMetaData not found in metadata
	at org.jboss.ejb3.proxy.clustered.jndiregistrar.JndiClusteredSessionRegistrarBase.getProxyFactoryRegistryKey(JndiClusteredSessionRegistrarBase.java:197)
	at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:233)
	at org.jboss.ejb3.proxy.clustered.jndiregistrar.JndiClusteredSessionRegistrarBase.createJndiReferenceBindingSet(JndiClusteredSessionRegistrarBase.java:212)
	at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:162)
	at org.jboss.ejb3.session.SessionSpecContainer.lockedStart(SessionSpecContainer.java:702)
	at org.jboss.ejb3.stateful.StatefulContainer.lockedStart(StatefulContainer.java:294)
	at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:858)

Problem is no cluster-config element is specified in jboss.xml to drive the creation of a ClusterConfigMetaData, and the mechanism that drives creation of one from @Clustered contents doesn't kick in because there is no annotation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list