Ok, thanks to all you guys I have the
servlet calling out to the
ejb from the servlet. The ejb lookup and method calls are in a processRequest method that is called from the doGet method.
Tracing it i find that it gets past the InitialContex and the lookup, It gets to the ejb.home.create() and gives a NullPointer Exception. Like this:
getting ready to create()
<Nov 14, 2001 5:16:43 PM EST> <Error> <HTTP> <[WebAppServletContext(392716,DDMWebApp)] Servlet faile
d with Exception
java.lang.NullPointerException
at com.document.DocServlet.processRequest(DocServlet.java:181)
at com.document.DocServlet.doGet(DocServlet.java:280)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:12
65)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Not sure why. I can hit the ejb from my
java client and it works ok.
Any suggestions where to look or how to pin point it more?
Steve