aspose file tools*
The moose likes Websphere and the fly likes LocalTransaction rolled-back due to setRollbackOnly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "LocalTransaction rolled-back due to setRollbackOnly" Watch "LocalTransaction rolled-back due to setRollbackOnly" New topic
Author

LocalTransaction rolled-back due to setRollbackOnly

Srinivas Rao Marri
Greenhorn

Joined: Jun 07, 2006
Posts: 11
Hi

I am migrating a web application from WAS5.0 with datasource(version 4) to WAS5.0 with datasource(version 5) and set the authentication alias to component managed service.

As per my understanding:
1. In datasource(version4), autocommit by default is true.
2. In datasource(version5), autocommit by default is false.
Correct me if i am wrong.

My application is running fine but the server logs are showing the below given erros:

[7/13/06 15:31:11:851 CST] 50d57985 WebAppTransac E SRVE0183E: LocalTransaction rolled-back due to setRollbackOnly
[7/13/06 15:31:11:950 CST] 50d57985 WebGroup E SRVE0020E: [Servlet Error]-[HttpGateWay]: Failed to load servlet: com.ibm.ws
.LocalTransaction.RolledbackException
at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.cleanup(LocalTranCoordImpl.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppTransactionCollaborator.postInvoke(WebAppTransactionCollaborator.java(Compiled C
ode))
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1272)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:412)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:219)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1026)
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(Compiled Code))
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java(Compiled Code))
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:134)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
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 java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)


Please tell me how can i avoid this error.

Regards
Srinivas
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LocalTransaction rolled-back due to setRollbackOnly