• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

please help -- cmr noSuchMethodError exception

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I have setup the one-to-many CMR. In my program, I set up one customer has many contacts in the weblogic 7. Please look at the deploy xml below:
-------ejb-jar.xml

weblogic-cmp-rdbms-jar.xml

However I got the noSuchMethodError exception from weblogic. Could any one tell me what is wrong with that?
Below is the stack trace.
--------- in addContacts -- adding contact -------
<2004-1-6 ??11?35?28?> <Error> <HTTP> <101017> <[ServletContext(id=8024986,
name=AuctionWeb.war,context-path=/AuctionWeb)] Root cause of ServletException
javax.ejb.EJBException: EJB Exception: : java.lang.NoSuchMethodError
at components.customer.ejb.CustomerEJB_1q1rpd__WebLogic_CMP_RDBMS_contac
ts_Set.<init>(CustomerEJB_1q1rpd__WebLogic_CMP_RDBMS_contacts_Set.java:74)
at components.customer.ejb.CustomerEJB_1q1rpd__WebLogic_CMP_RDBMS.getCon
tacts(CustomerEJB_1q1rpd__WebLogic_CMP_RDBMS.java:763)
at components.customer.ejb.CustomerEJB.addContacts(CustomerEJB.java:57)
at components.customer.ejb.CustomerEJB_1q1rpd_ELOImpl.addContacts(Custom
erEJB_1q1rpd_ELOImpl.java:46)
at servlets.AuctionServlet.registerNewUser(AuctionServlet.java:139)
at servlets.AuctionServlet.service(AuctionServlet.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5445)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:780)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3105)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
at weblogic.ejb20.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeU
tils.java:156)
at weblogic.ejb20.internal.BaseEJBLocalHome.handleSystemException(BaseEJ
BLocalHome.java:219)
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObj
ect.java:223)
at components.customer.ejb.CustomerEJB_1q1rpd_ELOImpl.addContacts(Custom
erEJB_1q1rpd_ELOImpl.java:58)
at servlets.AuctionServlet.registerNewUser(AuctionServlet.java:139)
at servlets.AuctionServlet.service(AuctionServlet.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5445)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:780)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3105)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
 
kevin ou
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found there is one topic is really similar with my question, however it is not helping. Could any one help me with this. Thanks!

kevin
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this to BEA/Weblogic forum.
 
Police line, do not cross. Well, this tiny ad can go through:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic