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

WTRN0017W: Encountered an error in XA recover operation

 
Kevin Kotze
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there.
We are getting the above exception when we try to restart our WAS4.0.4 server. We were required to use the Oracle 8i XA driver in our application because we are accessing 2 different databases with Entity EJB's (Required) via a Stateless Session EJB (Required). We investigated and found the following link (http://www-3.ibm.com/software/webservers/appserv/doc/v35/ae/infocenter/was/06061411.html), which is the only instance found of this problem through google. Our server just loops this exception infinitely and we need to follow the instructions in the link, as well as stop the WAS admin service and delete the trans log files in /tranlog directory and then restart the service again.
We have even seen that when our WSAD5.0 test servers are stopped abnormally for some reason, and we try to restart the test server it throws the above exception infinitely and the server needs to be stopped, deleted from file system, and then updated from CVS again to get it started correctly again.
What we need to know is why does the server go into an infinite loop and what better ways are there to counter this problem. We have actually tried to see if there are other ways of doing what we need to do and avoid using the XA driver like the plague.
Your help would be greatly appreciated.
Thanks in advance.
Kevin
 
Kevin Kotze
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any WAS XA driver experts out there
 
Kevin Kotze
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
We have sorted out the WSAD problem. The tranlog files have to be deleted from the following location ->
[WSAD install dir]\.metadata\.plugins\com.ibm.etools.websphere.tools.v4\tranlog
But this still doesn't explain why we keep getting this problem. There doesn't seem to be much info about this out there, which leads me to think we are doing something wrong?
Kevin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic