• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

HeuristicErrorCode

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any idea on what is causing this issue? I'm sure I'm just not seeing something.
I have an MDB that is processing a message. The MDB <trans-attribute>Required</trans-attribute>. In my onMessage method I am calling an EJB, that is configured to have the <trans-attribute>Required</trans-attribute>. It appears that when I get a rollback, I am getting:

Jun 16, 2008 1:05:21 PM GMT - <Error> [JTA] Xid=BEA1-7C654A4460DCF18EDD60(1071138940),Status=Rolled back. [Reason=Unknown],HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=30,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResou (1) Jun 16, 2008 1:05:25 PM GMT

HEre is my config sniipet:
<JDBCConnectionPool Name="oracleOciPool" Targets="@GUI_CLUSTER_NAME@,@BATCH_CLUSTER_NAME@"
InitialCapacity="@DB_POOL_MIN@" MaxCapacity="@DB_POOL_MAX@" CapacityIncrement="@DB_POOL_INCREMENT@"
LoginDelaySeconds="1" ShrinkingEnabled="@DB_POOL_SHRINKING@"
ShrinkPeriodMinutes="30" RefreshMinutes="30"
TestConnectionsOnCreate="true" TestConnectionsOnReserve="false"
TestFrequencySeconds="900" TestTableName="dual"
StatementCacheSize="100"
Properties="user=@DB_USER@;password=@DB_PASSWORD@;protocol=oci"
DriverName="oracle.jdbc.driver.OracleDriver" URL="jdbc racle ci:@@DB_INSTANCE@"/>
<JDBCTxDataSource Name="oraclePool" JNDIName="oraclePool" PoolName="oracleOciPool"
Targets="@GUI_CLUSTER_NAME@,@BATCH_CLUSTER_NAME@" EnableTwoPhaseCommit="@TWO_PHASE_COMMIT@"/>
<JMSConnectionFactory JNDIName="ConnectionFactory" Name="ConnectionFactory" Targets="@BATCH_CLUSTER_NAME@"
DefaultDeliveryMode="Non-Persistent" UserTransactionsEnabled="true" XAConnectionFactoryEnabled="true"/>
<JMSServer Name="@JMS_SERVER_NAME@" Targets="@BATCH_MANAGED_SERVER_1_NAME@">
Thanks.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic