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)