After installing a Fix Pack or Cumulative Fix, WTRN0040W warnings may be logged in the SystemOut.log when starting a server in Rational Application Developer
 Technote (FAQ)
 
Question
Why am I seeing WTRN0040W warnings when I try to start my server in the test (WSAD) environment?

WTRN0040W warnings may occur when starting an Application Server during transaction recovery. Transaction recovery occurs when an Application Server is started. The transactions to be recovered are in-doubt transactions (2 phase commit - (XA) transactions that were not completed before the Application Server stopped); the information used to recover these is stored in log files in the tranlog and partnerlog folders.
 
Cause
The cause of the error is two-fold; there are incomplete transactions in the tranlog and partnerlog files prior to the upgrade and there were changes in the transaction recovery classes in the Fix Pack or Cumulative Fix, specifically in the J2CXAResourceInfo class, that make it impossible for the application server to recreate the stored J2CXAResourceInfo in the tranlog file. Transactions are kept in the tranlog and partnerlog files when XA transactions (two-phase commit (2PC) transactions) go into an 'in-doubt state' until the transaction is either committed or rolled back, which completes the transaction.

Note: One action that can cause transactions to be in an in-doubt state is to terminate the Application Server process using an operating system action, such as terminating the Windows process or killing the UNIX OS process.
 
Answer
NOTE: The transaction logs should only be deleted if it is determined that the reason the transactions are not being completed is because of the change to the J2CXAResourceInfo class.

Stop the server:

For IBM WebSphere Application Server V5.0 and V5.1, those folders are in

<install_root>/tranlog/<server name> directory.

Note: It is possible to simply delete the tranlog and partnerlog directories.

Delete from WorkSpace locations. For most users, by default under Windows, workspace will be located under:

"MyDocuments"/IBM/"WSADversion"/workspace/.metadata/plugins/
com.ibm.etools.server.core/"tmp dir for configured server in studio"/

The logs will be located here:

D:\root\WebSphere\.metadata\.plugins\com.ibm.etools.server.core\servername\
tranlog\server1\transaction\

Remove the logs from partnerlog and tranlog directories.

 
 
Historical Number
86295.004.000
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Servlet Engine/Web Container
Operating system(s): Windows
Software version: 5.1
Software edition:
Reference #: 1321103
IBM Group: Software Group
Modified date: Nov 21, 2008