Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error when preparing a transaction for commit

 
Naveen Sampra
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • 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 ]
 
samou Mouloud
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic