I need to see the beans in the CMR.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 27, 2004 7:40 AM To: [EMAIL PROTECTED] Subject: [Xdoclet-user] [XDoclet] Weblogic 8.1 and CMR Hi, Did you have any problem with weblogic 8.1 and CMR using the code generated by XDoclet. Here I've got the following problem : If I've got a one-to-many relation, and I want in a method to save the information on the father and on some sons, there is the following exception : <<[WEBDEA] 13:44:33,161 -53- ERROR [StockBD] RemoteException java.rmi.RemoteException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: ORA-02291: integrity constraint (PF_TFSES_DEV.FK_BIEN_AUT_BIEN_AUTO_BIEN) violated - parent key not found 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:253) at com.fimasys.finance.profinance.front.ejb.bso.webdealer.dealer.stock.StockFac ade _shuy8g_EOImpl.saveAutoVO(StockFacade_shuy8g_EOImpl.java:1321) at com.fimasys.finance.profinance.front.ejb.bd.webdealer.dealer.StockBD.saveAut oVO (StockBD.java:198) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.stock.Good Det ailSubController.processEditTask(GoodDetailSubController.java:250) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.stock.Good Det ailSubController.process(GoodDetailSubController.java:113) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.DealerCont rol ler.process(DealerController.java:171) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.WebdealerD eal erMainController.process(WebdealerDealerMainController.java:118) at com.fimasys.finance.profinance.front.web.portal.control.MainServlet.doContro lle rRedirection(MainServlet.java:325) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.doIt (AbstractMainServlet.java:814) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.doPost (AbstractMainServlet.java:949) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.service (AbstractMainServlet.java:956) 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 (ServletStubImpl.java:402) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:6350) at weblogic.security.acl.internal.AuthenticatedSubject.doAs (AuthenticatedSubject.java:317) at weblogic.security.service.SecurityManager.runAs (SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet (WebAppServletContext.java:3635) at weblogic.servlet.internal.ServletRequestImpl.execute (ServletRequestImpl.java:2585) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) Caused by: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: ORA-02291: integr ity constraint (PF_TFSES_DEV.FK_BIEN_AUT_BIEN_AUTO_BIEN) violated - parent key not found at weblogic.ejb20.internal.EJBRuntimeUtils.throwTransactionRolledbackLocal (EJBRuntimeUtils.java:248) at weblogic.ejb20.internal.BaseEJBLocalHome.handleSystemException (BaseEJBLocalHome.java:247) at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke (BaseEJBLocalObject.java:327) at com.fimasys.finance.profinance.front.ejb.bpo.good.GoodBPO_diubow_ELOImpl.sav eAu toVO(GoodBPO_diubow_ELOImpl.java:969) at com.fimasys.finance.profinance.front.ejb.bso.webdealer.dealer.stock.StockFac ade Bean.saveAutoVO(StockFacadeBean.java:231) at com.fimasys.finance.profinance.front.ejb.bso.webdealer.dealer.stock.StockFac ade _shuy8g_EOImpl.saveAutoVO(StockFacade_shuy8g_EOImpl.java:1311) ... 21 more [WEBDEA] 13:44:33,193 -45- INFO [StockBD] | | | | | | <--- com.fimasys.finance.profinance.front.ejb.bd.webdealer.dealer.StockBD:saveAut oVO [WEBDEA] 13:44:33,193 -53- ERROR [DealerController] FMSApplicationException : SYS_02 java.rmi.RemoteException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: ORA-02291: integrity constraint (PF_TFSES_DEV.FK_BIEN_AUT_BIEN_AUTO_BIEN) violated - parent key not found 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:253) at com.fimasys.finance.profinance.front.ejb.bso.webdealer.dealer.stock.StockFac ade _shuy8g_EOImpl.saveAutoVO(StockFacade_shuy8g_EOImpl.java:1321) at com.fimasys.finance.profinance.front.ejb.bd.webdealer.dealer.StockBD.saveAut oVO (StockBD.java:198) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.stock.Good Det ailSubController.processEditTask(GoodDetailSubController.java:250) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.stock.Good Det ailSubController.process(GoodDetailSubController.java:113) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.DealerCont rol ler.process(DealerController.java:171) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.WebdealerD eal erMainController.process(WebdealerDealerMainController.java:118) at com.fimasys.finance.profinance.front.web.portal.control.MainServlet.doContro lle rRedirection(MainServlet.java:325) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.doIt (AbstractMainServlet.java:814) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.doPost (AbstractMainServlet.java:949) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.service (AbstractMainServlet.java:956) 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 (ServletStubImpl.java:402) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:6350) at weblogic.security.acl.internal.AuthenticatedSubject.doAs (AuthenticatedSubject.java:317) at weblogic.security.service.SecurityManager.runAs (SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet (WebAppServletContext.java:3635) at weblogic.servlet.internal.ServletRequestImpl.execute (ServletRequestImpl.java:2585) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) Caused by: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: ORA-02291: integr ity constraint (PF_TFSES_DEV.FK_BIEN_AUT_BIEN_AUTO_BIEN) violated - parent key not found at weblogic.ejb20.internal.EJBRuntimeUtils.throwTransactionRolledbackLocal (EJBRuntimeUtils.java:248) at weblogic.ejb20.internal.BaseEJBLocalHome.handleSystemException (BaseEJBLocalHome.java:247) at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke (BaseEJBLocalObject.java:327) at com.fimasys.finance.profinance.front.ejb.bpo.good.GoodBPO_diubow_ELOImpl.sav eAu toVO(GoodBPO_diubow_ELOImpl.java:969) at com.fimasys.finance.profinance.front.ejb.bso.webdealer.dealer.stock.StockFac ade Bean.saveAutoVO(StockFacadeBean.java:231) at com.fimasys.finance.profinance.front.ejb.bso.webdealer.dealer.stock.StockFac ade _shuy8g_EOImpl.saveAutoVO(StockFacade_shuy8g_EOImpl.java:1311) ... 21 more com.fimasys.finance.profinance.front.ejb.bd.webdealer.BDException at com.fimasys.finance.profinance.front.ejb.bd.webdealer.dealer.StockBD.saveAut oVO (StockBD.java:202) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.stock.Good Det ailSubController.processEditTask(GoodDetailSubController.java:250) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.stock.Good Det ailSubController.process(GoodDetailSubController.java:113) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.DealerCont rol ler.process(DealerController.java:171) at com.fimasys.finance.profinance.front.web.webdealer.dealer.control.WebdealerD eal erMainController.process(WebdealerDealerMainController.java:118) at com.fimasys.finance.profinance.front.web.portal.control.MainServlet.doContro lle rRedirection(MainServlet.java:325) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.doIt (AbstractMainServlet.java:814) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.doPost (AbstractMainServlet.java:949) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at com.fimasys.services.j2ee.control.web.AbstractMainServlet.service (AbstractMainServlet.java:956) 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 (ServletStubImpl.java:402) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:6350) at weblogic.security.acl.internal.AuthenticatedSubject.doAs (AuthenticatedSubject.java:317) at weblogic.security.service.SecurityManager.runAs (SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet (WebAppServletContext.java:3635) at weblogic.servlet.internal.ServletRequestImpl.execute (ServletRequestImpl.java:2585) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) >> If I remove the cmr it work perfectly. Have you ever met that ? Regards, Denis Boutin. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user