Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

why XAException on local transactions?  RSS feed

Yan Zhou
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Periodically, I am getting a strange error about global transaction since it is about heuristic hazard. However, I am not using global transaction in my entity bean code.

The JDBC driver is a non-XA Oracle 9.0/10.0 driver.

Why am I getting such exceptions on local transactions? If I restart Weblogic server, then everything is fine.


<Jul 13, 2005 2:47:07 PM EDT> <Error> <JTA> <BEA-110412> <Xid=BEA1-00A1FC8615E835ABE863(4768995),Status=Rolled back. [Re
iesOwedOthers=0,seconds since begin=11,seconds left=30,activeThread=Thread[ExecuteThread: '13' for queue: 'weblogic.kern
el.Default',5,Thread Group for Queue: 'weblogic.kernel.Default'],XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourc
bc.wrapper.JTSXAResourceImpl@48fd58,re-Registered = false),SCInfo[hubservices-3.5+myserver]=(state=rolledback),propertie
=myserver+, XAResources={},NonXAResources={})],CoordinatorURL=myserver+
12:7001+hubservices-3.5+t3+) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.
transaction.xa.XAException: No more data to read from socket)) >
Unable to roll back transaction
javax.transaction.SystemException: Heuristic hazard: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.t
ransaction.xa.XAException: No more data to read from socket))
at weblogic.transaction.internal.ServerTransactionImpl.internalRollback()V(
at weblogic.transaction.internal.ServerTransactionImpl.rollback()V(
at weblogic.transaction.internal.TransactionManagerImpl.rollback()V(
c.rmi.spi.OutboundResponse;Ljava.lang.Object Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lweblogic
.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse V(
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lwe
blogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse V(
at weblogic.rmi.internal.BasicServerRef$;(
urity.PrivilegedExceptionAction Ljava.lang.Object;(
at;Lweblogi; Ljava.lang.Object;(SecurityManage
at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.InboundRequest V(
at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.ExecuteThread V(
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest V(
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread V(Unknown Source)
<Jul 13, 2005 2:47:25 PM EDT> <Error> <JDBC> <BEA-001112> <Test "select count(*) from DUAL" set up for pool "HUB Connect
ion Pool" failed with exception: "java.sql.SQLException: Io exception: Connection aborted by peer".>
Vamsee Matta
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also getting this exception. Could you please let me know hoe you have resolved this issue. When I googled the exception, people are saying it is caused by accesing a connection from the connection pool which is closed or timed out. Or it may be caused if the DB is down.
manikandan vnr
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am also getting this exception.Here the database connections and connection pools are running fine.Kindly give valuable suggestions for this pertraining issue.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!