EJB Exception occurred during invocation from home or business:
834987Jan 28 2011 — edited Feb 1 2011Friends,
I have ejb application deployed in weblogic 10.3 with cluster environment. I have configured the following ejb-jar.xml
<session>
<ejb-name>PartSL</ejb-name>
<home>com.gm.tm.ejb.session.part.PartSLHome</home>
<remote>com.gm.tm.ejb.session.part.PartSL</remote>
<ejb-class>com.gm.tm.ejb.session.part.PartSLBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/PartBM</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>com.gm.tm.ejb.entity.partbm.PartHome</home>
<remote>com.gm.tm.ejb.entity.partbm.Part</remote>
<ejb-link>PartBM</ejb-link>
</ejb-ref>
<resource-ref>
<description></description>
<res-ref-name>jdbc/ToolMoveDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
Sometimes when user doing some manupulation, this object getting disapper and getting the error as EJB Exception occurred during invocation from home or business: com.gm.tm.ejb.session.part.PartSL_ex1s88_HomeImpl@175f214 threw exception: javax.ejb.EJBException: nested exception is: javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'PartBM'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'PartBM'. Resolved '']; remaining name 'PartBM']; Link Remaining Name: 'PartBM'>
JNDI tree is clusterable but is incompatible. Make sure all the servers in the cluster use the identical copy of object.
Pls let me know if anyone know the root cause and i am new to EJB too. So pls help if anyone know better solution for this