Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Session bean "Exception in method create()"

Hello,

I have a session bean which is consuming entity bean and session bean is published as webService now when I call create method of entity bean from session bean it says "Exception in method com.syntel.exam_tool.entityBeans.tabExamTable.TabExamLocalHomeImpl0.create()."

But my create method of entity bean is blank I am not getting from where this exceptions is being thrown.

below is the code from session bean wehre I am calling entity bean

javax.naming.Context ctx;
ctx = new InitialContext();
TabExamLocalHome tabExamLocalHome = (TabExamLocalHome) ctx.lookup("java:comp/env/ejb/TabExamBean1");
TabExamLocal tabExam = tabExamLocalHome.create();

Please help me ins this problem.

Thanks

Former Member
Not what you were looking for? View more on this topic or Ask a question