Guest_imported
New member
- Jan 1, 1970
- 0
Hi
I am using WebSphere3.5.4 with Oracle 8i (8.1.6) in Windos2000. I am using both session and entity bean with Bean managed persistence, but container managed transaction.
When I am using one of the bean to save data into the database, I am getting the following error. Any clue will be appreciated. Both Session and entity beans are marked with "TX_SUPPORTS" transaction.
------------------------------------------------------
The exception thrown was java.lang.reflect.InvocationTargetException.
The exception message was.. null.
The stack trace was as follows...
java.lang.reflect.InvocationTargetException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException:
at java.io.IOException.<init>(IOException.java:49)
at java.rmi.RemoteException.<init>(RemoteException.java:58)
at com.ibm.websphere.csi.CSIException.<init>(CSIException.java:30)
at com.ibm.websphere.csi.CSITransactionRolledbackException.<init>(CSITransactionRolledbackException.java:32)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:185)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:59)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:407)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:1752)
at com.ngda.mama.ejb.project.EJSRemoteProjectEBHome.create(EJSRemoteProjectEBHome.java:45)
at com.ngda.mama.ejb.project._ProjectEBHome_Stub.create(_ProjectEBHome_Stub.java:197)
at com.ngda.mama.ejb.project.ProjectSB.createNewProjectEntity(ProjectSB.java:776)
at com.ngda.mama.ejb.project.ProjectSB.createProject(ProjectSB.java:463)
at com.ngda.mama.ejb.project.EJSRemoteProjectSBRemote.createProject(EJSRemoteProjectSBRemote.java:218)
at com.ngda.mama.ejb.project._ProjectSBRemote_Stub.createProject(_ProjectSBRemote_Stub.java:486)
at com.ngda.mama.ejb.adapter.ProjectAdapterSB.createProject(ProjectAdapterSB.java:76)
at com.ngda.mama.ejb.adapter.EJSRemoteProjectAdapterSBRemote.createProject(EJSRemoteProjectAdapterSBRemote.java:89)
at com.ngda.mama.ejb.adapter._ProjectAdapterSBRemote_Stub.createProject(_ProjectAdapterSBRemote_Stub.java:274)
at com.ngda.mama.businessobject.actionhandler.ProjectCreationActionHandler.finishProjectWizard(ProjectCreationActionHandler.java:697)
at java.lang.reflect.Method.invoke(Native Method)
at com.ngda.mama.businessobject.actionhandler.BaseActionHandler.handleAction(BaseActionHandler.java:42)
at com.ngda.mama.servlet.ControllerServlet.doGet(ControllerServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
minor code: 0 completed: No
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException:
at java.io.IOException.<init>(IOException.java:49)
at java.rmi.RemoteException.<init>(RemoteException.java:58)
at com.ibm.websphere.csi.CSIException.<init>(CSIException.java:30)
at com.ibm.websphere.csi.CSITransactionRolledbackException.<init>(CSITransactionRolledbackException.java:32)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:185)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:59)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:407)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:1752)
at com.ngda.mama.ejb.project.EJSRemoteProjectEBHome.create(EJSRemoteProjectEBHome.java:45)
at com.ngda.mama.ejb.project._ProjectEBHome_Stub.create(_ProjectEBHome_Stub.java:197)
at com.ngda.mama.ejb.project.ProjectSB.createNewProjectEntity(ProjectSB.java:776)
at com.ngda.mama.ejb.project.ProjectSB.createProject(ProjectSB.java:463)
at com.ngda.mama.ejb.project.EJSRemoteProjectSBRemote.createProject(EJSRemoteProjectSBRemote.java:218)
at com.ngda.mama.ejb.project._ProjectSBRemote_Stub.createProject(_ProjectSBRemote_Stub.java:486)
at com.ngda.mama.ejb.adapter.ProjectAdapterSB.createProject(ProjectAdapterSB.java:76)
at com.ngda.mama.ejb.adapter.EJSRemoteProjectAdapterSBRemote.createProject(EJSRemoteProjectAdapterSBRemote.java:89)
at com.ngda.mama.ejb.adapter._ProjectAdapterSBRemote_Stub.createProject(_ProjectAdapterSBRemote_Stub.java:274)
at com.ngda.mama.businessobject.actionhandler.ProjectCreationActionHandler.finishProjectWizard(ProjectCreationActionHandler.java:697)
at java.lang.reflect.Method.invoke(Native Method)
at com.ngda.mama.businessobject.actionhandler.BaseActionHandler.handleAction(BaseActionHandler.java:42)
at com.ngda.mama.servlet.ControllerServlet.doGet(ControllerServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
minor code: 0 completed: No
I am using WebSphere3.5.4 with Oracle 8i (8.1.6) in Windos2000. I am using both session and entity bean with Bean managed persistence, but container managed transaction.
When I am using one of the bean to save data into the database, I am getting the following error. Any clue will be appreciated. Both Session and entity beans are marked with "TX_SUPPORTS" transaction.
------------------------------------------------------
The exception thrown was java.lang.reflect.InvocationTargetException.
The exception message was.. null.
The stack trace was as follows...
java.lang.reflect.InvocationTargetException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException:
at java.io.IOException.<init>(IOException.java:49)
at java.rmi.RemoteException.<init>(RemoteException.java:58)
at com.ibm.websphere.csi.CSIException.<init>(CSIException.java:30)
at com.ibm.websphere.csi.CSITransactionRolledbackException.<init>(CSITransactionRolledbackException.java:32)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:185)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:59)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:407)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:1752)
at com.ngda.mama.ejb.project.EJSRemoteProjectEBHome.create(EJSRemoteProjectEBHome.java:45)
at com.ngda.mama.ejb.project._ProjectEBHome_Stub.create(_ProjectEBHome_Stub.java:197)
at com.ngda.mama.ejb.project.ProjectSB.createNewProjectEntity(ProjectSB.java:776)
at com.ngda.mama.ejb.project.ProjectSB.createProject(ProjectSB.java:463)
at com.ngda.mama.ejb.project.EJSRemoteProjectSBRemote.createProject(EJSRemoteProjectSBRemote.java:218)
at com.ngda.mama.ejb.project._ProjectSBRemote_Stub.createProject(_ProjectSBRemote_Stub.java:486)
at com.ngda.mama.ejb.adapter.ProjectAdapterSB.createProject(ProjectAdapterSB.java:76)
at com.ngda.mama.ejb.adapter.EJSRemoteProjectAdapterSBRemote.createProject(EJSRemoteProjectAdapterSBRemote.java:89)
at com.ngda.mama.ejb.adapter._ProjectAdapterSBRemote_Stub.createProject(_ProjectAdapterSBRemote_Stub.java:274)
at com.ngda.mama.businessobject.actionhandler.ProjectCreationActionHandler.finishProjectWizard(ProjectCreationActionHandler.java:697)
at java.lang.reflect.Method.invoke(Native Method)
at com.ngda.mama.businessobject.actionhandler.BaseActionHandler.handleAction(BaseActionHandler.java:42)
at com.ngda.mama.servlet.ControllerServlet.doGet(ControllerServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
minor code: 0 completed: No
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: com.ibm.websphere.csi.CSITransactionRolledbackException:
at java.io.IOException.<init>(IOException.java:49)
at java.rmi.RemoteException.<init>(RemoteException.java:58)
at com.ibm.websphere.csi.CSIException.<init>(CSIException.java:30)
at com.ibm.websphere.csi.CSITransactionRolledbackException.<init>(CSITransactionRolledbackException.java:32)
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:185)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:59)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:407)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:1752)
at com.ngda.mama.ejb.project.EJSRemoteProjectEBHome.create(EJSRemoteProjectEBHome.java:45)
at com.ngda.mama.ejb.project._ProjectEBHome_Stub.create(_ProjectEBHome_Stub.java:197)
at com.ngda.mama.ejb.project.ProjectSB.createNewProjectEntity(ProjectSB.java:776)
at com.ngda.mama.ejb.project.ProjectSB.createProject(ProjectSB.java:463)
at com.ngda.mama.ejb.project.EJSRemoteProjectSBRemote.createProject(EJSRemoteProjectSBRemote.java:218)
at com.ngda.mama.ejb.project._ProjectSBRemote_Stub.createProject(_ProjectSBRemote_Stub.java:486)
at com.ngda.mama.ejb.adapter.ProjectAdapterSB.createProject(ProjectAdapterSB.java:76)
at com.ngda.mama.ejb.adapter.EJSRemoteProjectAdapterSBRemote.createProject(EJSRemoteProjectAdapterSBRemote.java:89)
at com.ngda.mama.ejb.adapter._ProjectAdapterSBRemote_Stub.createProject(_ProjectAdapterSBRemote_Stub.java:274)
at com.ngda.mama.businessobject.actionhandler.ProjectCreationActionHandler.finishProjectWizard(ProjectCreationActionHandler.java:697)
at java.lang.reflect.Method.invoke(Native Method)
at com.ngda.mama.businessobject.actionhandler.BaseActionHandler.handleAction(BaseActionHandler.java:42)
at com.ngda.mama.servlet.ControllerServlet.doGet(ControllerServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
minor code: 0 completed: No