Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

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(
at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(
at com.sns.pfk.ejb.PfkSessionBean_mz6mqm_EOImpl.getAllPfkInfo(PfkSession
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(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.ServletStubImpl$
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
at weblogic.servlet.internal.TailFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
at com.sns.pfk.servlet.PfkFilterServlet.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
at weblogic.kernel.ExecuteThread.execute(
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
... 18 more

i am getting above error when I am running application on weblogic 8.1.
what might be the error?
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.
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic