• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HeuristicHazard

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
 
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
It was the best of times. It was the worst of times. It was a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic