aspose file tools*
The moose likes Websphere and the fly likes An unresolved LocalTransactionContainment had an unresolved action of rollback Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "An unresolved LocalTransactionContainment had an unresolved action of rollback" Watch "An unresolved LocalTransactionContainment had an unresolved action of rollback" New topic
Author

An unresolved LocalTransactionContainment had an unresolved action of rollback

Lady Isk
Greenhorn

Joined: Dec 16, 2004
Posts: 2
Hi all,
Websphere v 5.1, hibernate-2.1.1, no EJB.
I defined a datasource namely: jdbc/jBpm.
When I run StartEngine servlet which is the initializer servlet loaded on startup I got the following exception:

[16.12.2004 10:43:43:231 EET] 3c9520bc LocalTranCoor E WLTC0033E: Resource jdbc/jBpm rolled back in cleanup of unresolved LocalTransactionContainment.
[16.12.2004 10:43:43:241 EET] 3c9520bc LocalTranCoor E WLTC0032E: One or more resources rolled back. An unresolved LocalTransactionContainment had an unresolved action of rollback.
[16.12.2004 10:43:43:241 EET] 3c9520bc WebAppTransac E WTRN0043I: LocalTransaction rolled-back due to setRollbackOnly.
[16.12.2004 10:43:43:261 EET] 3c9520bc WebGroup E SRVE0020E: [Servlet Error]-[StartEngine]: Failed to load servlet: com.ibm.ws.LocalTransaction.RolledbackException
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.cleanup(LocalTranCoordImpl.java:1073)
at com.ibm.ws.webcontainer.webapp.WebAppTransactionCollaborator.postInvoke(WebAppTransactionCollaborator.java:249)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:885)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1277)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1005)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:128)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:105)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)

[16.12.2004 10:43:43:261 EET] 3c9520bc WebAppServlet E SRVE0183E: LocalTransaction rolled-back due to setRollbackOnly
[16.12.2004 10:43:43:261 EET] 3c9520bc ApplicationMg A WSVR0221I: Application started: DefaultEAR
[16.12.2004 10:43:43:311 EET] 3c9520bc HttpTransport A SRVE0171I: Transport http is listening on port 9.080.
[16.12.2004 10:43:44:583 EET] 3c9520bc HttpTransport A SRVE0171I: Transport https is listening on port 9.443.
[16.12.2004 10:43:44:613 EET] 3c9520bc RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[16.12.2004 10:43:44:643 EET] 3c9520bc WsServer A WSVR0001I: Server server1 open for e-business


I read in this forum that it has something to do with setAutocommit(false). I saw that DriverManagerConnectionProvider of hibernate does this:
if(pooled.getAutoCommit())
pooled.setAutoCommit(false);

What can I do to get rid of this exception?
Lady Isk
Greenhorn

Joined: Dec 16, 2004
Posts: 2
I found the reason, so don't bother
Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi,

I'm getting the same exception so could you please let me know the resolution.

Thanks,
-Bikash
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: An unresolved LocalTransactionContainment had an unresolved action of rollback
 
Similar Threads
LocalTransaction rolled-back due to setRollbackOnly
please give the path for upgrade WSAD 5.1.0 to 5.1.2 or 5.1.1
Failed to load servlet error
Problems with Struts in WebSphere 5.0: UnknownHostException
Problem in websphere Struts / Server config