This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB exception-NoSuchMethodError  RSS feed

 
rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<Apr 16, 2007 2:12:30 PM GMT+05:30> <Error> <HTTP> <BEA-101019> <[ServletContext
(id=14864257,name=lriweb,context-path=/lriweb)] Servlet failed with IOException
java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.lang.NoSuchMethodError: com.sns.pfk.PfkPortalDAO.getAllSubscribedAp
ps(Ljava/sql/Connection;Ljava/lang/String Ljava/util/Hashtable;
at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:103)
at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:304)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
53)
at com.sns.pfk.ejb.PfkSessionBean_mz6mqm_EOImpl.getAllPfkInfo(PfkSession
Bean_mz6mqm_EOImpl.java:159)
at com.sns.pfk.ejb.PfkSessionBean_mz6mqm_EOImpl_CBV.getAllPfkInfo(Unknow
n Source)
at com.sns.pfk.servlet.PfkMainServlet.doActionFirst(Unknown Source)
at com.sns.pfk.servlet.PfkMainServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at com.sns.pfk.servlet.PfkFilterServlet.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6356)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: java.lang.NoSuchMethodError: com.sns.pfk.PfkPortalDAO.getAllSubscribe
dApps(Ljava/sql/Connection;Ljava/lang/String Ljava/util/Hashtable;
at com.sns.pfk.ejb.PfkSessionBean.getAllPfkInfo(Unknown Source)
at com.sns.pfk.ejb.PfkSessionBean_mz6mqm_EOImpl.getAllPfkInfo(PfkSession
Bean_mz6mqm_EOImpl.java:149)
... 18 more
>

i am getting above error when I am running application on weblogic 8.1.
what might be the error?
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking at the stack trace, it looks like the ejb is referring to a method(getAllSubscribedApps) in PfkPortalDAO that is not there. Just recompile and redeploy your ejb with the latest code. It shud work fine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!