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

Error when preparing a transaction for commit

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am reading a JMS message using MDB; based on message values, using CMP 1.1 to read from DataSource1(DB2 - os/390 database) and using CMP 2.0 to update DataSource2(DB2 - Linux UDB database).

I'm using the V5.0 Test server on WSAD 5.1.1 for testing. The same problem occurs in V5.1 Test server.

When returning from the onMessage() method, the following error is thrown. The MDB calls a stateless session bean to do the processing. I am using 2PC database drivers. The JMS provider(WebSphere MQ) is registered for 2PC.

Any suggestions as to what I can try to get rid of the error.



[ March 02, 2005: Message edited by: Naveen Sampra ]
[ March 02, 2005: Message edited by: Naveen Sampra ]
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
XAER_RMFAIL means "unavailable resource manager", it looks like your global transaction is timing out. Try to increase timeout value
Mouloud
 
Your mother was a hamster and your father was a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic