Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HeuristicHazard

 
Hardy Chou
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

We've got HeuristicHazard error coming out together with explanation saying that it's due to connection time out. The application was built by Weblogic Workshop 8.1 SP3. We're using Weblogic Server 8.1 SP3, Oracle 9.2 on Weblogic's Oracle non-XA driver. I'd appreciate any help. Below is the error stack trace.

2005-06-16 02:01:18,317 || Validator||processInboundTransaction||TransactionID:20763379||Heuristic hazard: (weblogic.jdbc.wrap
per.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Io exception: Connection timed out))
javax.transaction.SystemException: Heuristic hazard: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transac
tion.xa.XAException: Io exception: Connection timed out))
at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:396)
at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:362)
at weblogic.transaction.internal.TransactionManagerImpl.rollback(TransactionManagerImpl.java:320)
at com.starhub.rapid.ejb.ValidatorBean.processInboundTransaction(ValidatorBean.java:323)
at com.starhub.rapid.ejb.ValidatorBean_s6mmv4_ELOImpl.processInboundTransaction(ValidatorBean_s6mmv4_ELOImpl.java:99)
at com.starhub.rapid.ejb.ValidatorMessenger.onMessage(ValidatorMessenger.java:68)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:370)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:262)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2678)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
 
 
Purushoth Thambu
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check if any of your entity bean methods has the transaction property set to Required or Mandatory or RequiresNew. Someone tell me is it Okay to use Non-XA drivers in application that uses Entity Beans?
 
Hardy Chou
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the entity bean are set to Mandatory.

Originally posted by Purushothaman Thambu:
Check if any of your entity bean methods has the transaction property set to Required or Mandatory or RequiresNew. Someone tell me is it Okay to use Non-XA drivers in application that uses Entity Beans?
 
Purushoth Thambu
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the bean transactions property are set to Mandatory how will it be possible to use Oracle non-xta driver ? I am not sure though.. double check with some other driver with XTA support.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic