Skip to Content
author's profile photo Former Member
Former Member

Session bean "Exception in method create()"


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.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 04:55 PM


    Could you please post the stack trace?


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Janeth,

      below is the stack trace




      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)






      javax.servlet.http.HttpServlet.service( Method)

      please help me in this as I am not getting where the problem is

      Edited by: new to netweaver on Sep 9, 2009 11:15 AM

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.