Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

EJB Exception occurred during invocation from home or business:

834987Jan 28 2011 — edited Feb 1 2011
Friends,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 1 2011
Added on Jan 28 2011
4 comments
7,896 views