Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with RollBack Exception

 
Rolando Ochoa
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an exception...does anyone knows about this?, I'm inserting records in a DataBase in AS400 team (DB2). I'm working with WAS 5.1.0 but rollback happens even when all records have been saved.

Thanks for your help.


javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK:

Trace from server: 1198777258 at host localhost --
org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: minor code: 0 completed: No
at com.ibm.ejs.csi.OrbUtilsImpl.mapException(OrbUtilsImpl.java:76)
at com.ibm.ejs.container.RemoteExceptionMappingStrategy.mapCSIException(RemoteExceptionMappingStrategy.java:304)
at com.ibm.ejs.container.RemoteExceptionMappingStrategy.mapCSITransactionRolledBackException(RemoteExceptionMappingStrategy.java:323)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2976)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:2785)
at com.estrellablanca.cvyl.ejb.EJSRemoteStatelessServicioFacade_e80d6916.agregarCorridasAbiertas2(EJSRemoteStatelessServicioFacade_e80d6916.java:1089)
at com.estrellablanca.cvyl.ejb._EJSRemoteStatelessServicioFacade_e80d6916_Tie.agregarCorridasAbiertas2(_EJSRemoteStatelessServicioFacade_e80d6916_Tie.java:1233)
at com.estrellablanca.cvyl.ejb._EJSRemoteStatelessServicioFacade_e80d6916_Tie._invoke(_EJSRemoteStatelessServicioFacade_e80d6916_Tie.java:243)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:615)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:468)
at com.ibm.rmi.iiop.ORB.process(ORB.java:396)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1608)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2164)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
-- END server: 1198777258 at host localhost

minor code: 0 completed: No
at com.estrellablanca.cvyl.bd.ServicioBD.agregarCorridasAbiertas2(ServicioBD.java:111)
at com.estrellablanca.cvyl.client.servicio.PanCorridaGenDias2.keyPressedDialog(PanCorridaGenDias2.java:107)
at com.estrellablanca.cvyl.client.servicio.PanCorridaGenDias2.access$0(PanCorridaGenDias2.java:88)
at com.estrellablanca.cvyl.client.servicio.PanCorridaGenDias2$1.keyPressed(PanCorridaGenDias2.java:79)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:205)
 
Reed Peters
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got this before when I turned off automatic commitment and then ended the program before specifically excuting a commit.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic