• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

WAS 6.0.2 Datasource problem - Connection Timeout

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using the WAS 6.0.2 on Linux box. Some time the application fails to get the conncetion with error 'J2CA0026E: Method addSync caught javax.transaction.RollbackException while trying to register the Resource Adapter with the Synchronization Manager for the current transaction, and threw a ResourceException.'

It also happens(not always) when the server restarted and application restarted....

The complete trace is below

Thanks and Regards,
Raja


[9/1/05 11:11:16:564 EDT] 0000002b TimeoutManage I WTRN0006W: Transaction 00000106123C0B8900000001000000A9E5DC7D8D0D8F7F717A2D1B33820C6A60D3F2C28600000106123C0B8900000001000000A9E5DC7D8D0D8F7F717A2D1B33820C6A60D3F2C28600000001 has timed out after 120 seconds.
[9/1/05 11:16:46:955 EDT] 00000026 XATransaction E J2CA0026E: Method addSync caught javax.transaction.RollbackException: Transaction rolled back
at com.ibm.ws.Transaction.JTA.TransactionImpl.registerSynchronization(TransactionImpl.java:3038)
at com.ibm.ws.Transaction.JTA.TransactionImpl.registerSynchronization(TransactionImpl.java:3017)
at com.ibm.ws.Transaction.JTA.TranManagerSet.registerSynchronization(TranManagerSet.java:483)
at com.ibm.ejs.j2c.XATransactionWrapper.addSync(XATransactionWrapper.java:288)
at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionManager.java:1195)
at com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(ConnectionManager.java:938)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:571)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:328)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:297)
at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
at com.starwood.valhalla.booking.util.HibernateHelper.<clinit>(HibernateHelper.java:53)
at com.starwood.valhalla.booking.dao.ProductDAOImpl.checkGuaranteeType(ProductDAOImpl.java:108)
at com.starwood.valhalla.booking.bo.ProductBO.validateGuaranteeType(ProductBO.java:372)
at com.starwood.valhalla.booking.bo.ProductBO.validate(ProductBO.java:356)
at com.starwood.valhalla.booking.bo.ProductBO.create(ProductBO.java:89)
at com.starwood.valhalla.booking.bo.BinderBO.create(BinderBO.java:167)
at com.starwood.valhalla.booking.bo.ItineraryBO.createBinder(ItineraryBO.java:377)
at com.starwood.valhalla.booking.bs.CreateBookingService.createBooking(CreateBookingService.java:121)
at com.starwood.valhalla.booking.facade.BookingFacadeBean.createBooking(BookingFacadeBean.java:373)
at com.starwood.valhalla.booking.facade.EJSRemoteStatelessBookingFacade_7e4054e8.createBooking(Unknown Source)
at com.starwood.valhalla.booking.facade._BookingFacade_Stub.createBooking(_BookingFacade_Stub.java:519)
at com.starwood.valhalla.booking.requestHandler.CreateBookingHandler.processRequest(CreateBookingHandler.java:70)
at com.starwood.valhalla.bknginterface.listener.BookingServlet.doPost(BookingServlet.java:96)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
while trying to register the Resource Adapter with the Synchronization Manager for the current transaction, and threw a ResourceException.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!