aspose file tools*
The moose likes Websphere and the fly likes WTRN0017W: Encountered an error in XA recover operation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WTRN0017W: Encountered an error in XA recover operation" Watch "WTRN0017W: Encountered an error in XA recover operation" New topic
Author

WTRN0017W: Encountered an error in XA recover operation

Kevin Kotze
Greenhorn

Joined: Aug 28, 2002
Posts: 13
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

Joined: Aug 28, 2002
Posts: 13
Any WAS XA driver experts out there
Kevin Kotze
Greenhorn

Joined: Aug 28, 2002
Posts: 13
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
 
jQuery in Action, 2nd edition
 
subject: WTRN0017W: Encountered an error in XA recover operation