• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

EJB exception-NoSuchMethodError

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic