Jndi bindings
starksm64 Dec 3, 2007 7:37 PMRelated to JBCTS-718, what bindings are supposed to exist for a bean with an ejb-jar.xml entry like:
<session> <ejb-name>RemoveBean</ejb-name> <home>com.sun.ts.tests.ejb30.common.migration.twothree.TwoRemoteHome</home> <remote>com.sun.ts.tests.ejb30.common.migration.twothree.TwoRemoteIF</remote> <local-home>com.sun.ts.tests.ejb30.common.migration.twothree.TwoLocalHome</local-home> <local>com.sun.ts.tests.ejb30.common.migration.twothree.TwoLocalIF</local> <business-local>com.sun.ts.tests.ejb30.bb.session.stateful.remove.common.RemoveLocalIF</business-local> <business-local>com.sun.ts.tests.ejb30.bb.session.stateful.remove.common.RemoveLocal2IF</business-local> <business-remote>com.sun.ts.tests.ejb30.bb.session.stateful.remove.common.Remove2IF</business-remote> <business-remote>com.sun.ts.tests.ejb30.bb.session.stateful.remove.common.RemoveIF</business-remote> <ejb-class>com.sun.ts.tests.ejb30.bb.session.stateful.remove.descriptor.RemoveBean</ejb-class> <session-type>Stateful</session-type> <remove-method> <bean-method> <method-name>retain</method-name> </bean-method> <retain-if-exception>true</retain-if-exception> </remove-method> <remove-method> <bean-method> <method-name>retain2</method-name> </bean-method> <retain-if-exception>true</retain-if-exception> </remove-method> <remove-method> <bean-method> <method-name>remove</method-name> </bean-method> <!-- optional, default is false <retain-if-exception>false</retain-if-exception> --> </remove-method> <remove-method> <bean-method> <method-name>remove2</method-name> </bean-method> <retain-if-exception>false</retain-if-exception> </remove-method> <transaction-type>Container</transaction-type> </session>
and jboss.xml entry like:
<session> <ejb-name>RemoveBean</ejb-name> <jndi-name>stateful_remove_descriptor_RemoveBean</jndi-name> <home-jndi-name>stateful_remove_descriptor_RemoveBeanHome</home-jndi-name> <call-by-value>true</call-by-value> </session>
I'm only seeing a global binding for stateful_remove_descriptor_RemoveBeanHome. A related client deployment has references to business interfaces on this bean that have been resolved to the stateful_remove_descriptor_RemoveBean jndi name, but this does not exist.