Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic 5.1 and EJB 1.1

 
San
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See i have created jar file for session bean successfully and also deployed.But whenever i am trying to invoke bean from JSP its giving me error shown below.
--------------------------------------------
<EJB JAR deployment c:/weblogic/myserver/<br /> SessActInactiveExp.jar> Exception in non-transactional EJB invoke:
java.lang.NullPointerException:
at eos.sessactinactiveexpert.SessActInactiveExpertBean.getHome(SessActIn
activeExpertBean.java:91)
at eos.sessactinactiveexpert.SessActInactiveExpertBean.getCatSubCat(Sess
ActInactiveExpertBean.java, Compiled Code)
at eos.sessactinactiveexpert.SessActInactiveExpertBeanEOImpl.getCatSubCa
t(SessActInactiveExpertBeanEOImpl.java:56)
at eos.sessactinactiveexpert.SessActInactiveExpertBeanEOImpl_ServiceStub
.getCatSubCat(SessActInactiveExpertBeanEOImpl_ServiceStub.java, Compiled Code)
at jsp_servlet._activeinactive._jspService(_activeinactive.java, Compile
d Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:105)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:123)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
---------------------------------------------
------------------
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18214
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaRanch has a special forum where WebLogic experts hang out. Try asking over there.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
San,
Please note that Javaranch has a naming policy that requires the use of a first name- space - last name. Please reregister with a new name.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am moving this to the WebLogic forum.
------------------
Tom
Sun Certified Programmer for the Java� 2 Platform
Moderator of the forums:
J2EE and EJB
Other Java APIs
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic