APAR status
Closed as program error.
Error description
When monitoring my customer's banking application, I noticed
that the Tivoli Performance Viewer reported that Local Trans-
actions started and Active Local Transactions increased on each
client request. However, the numbers reported by perfviewer for
the completed Local Transactions remained at 0, for committed,
Rolled-back, and Timed-Out.
I used tracespec:
com.ibm.ws.pmi.server.modules.TransactionModule=all=enabled
The only message produced was
■24/11/03 15:39:19:591 EST 420c74 TransactionMo d started
local from the method:
com.ibm.ws.pmi.server.modules.TransactionModule$LocalTran.starte
d()
If you look in the trace5.log file, search for string MRL001.
This is the beginning of the LocalTranCoordImpl.enlistForCleanup
()method which calls the LocalTran.started() method. This
causes the "start local" message to appear.
Later - search for MRL002 - , a call to
ConnectionEventListener.localTransactionCommited() method is
made. This first calls LocalTransactionWrapper.delist, which
in turn calls the LocalTranCoordImpl.delistForCleanup() method
(MRL003).
Examining the source for the delistForCleanup() it is removing
the transaction from the _cleanupResources arrayList. This
appears to be the problem because at MRL004, a message appears
that the LocalTransaction is still active.
At MRL005, an the LocalTranCoordImpl.enlistSynchronization()
method is called. Finally, the tranaction appears to be
complete - search for MRL006.
A call to LocalTranCoordImpl.cleanup() is made.
Examining the code, the calls to the TransactionModule$LocalTran
methods to report how the Local transaction completed are made
here. However they are not being executied. The line after
MRL007 shows it has called the informSynchronizations() method
after the calls to the LocalTran could be made.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of Tivoli *
* Performance Viewer. *
****************************************************************
* PROBLEM DESCRIPTION: Local Transactions are reported by the *
* Tivoli Performance Viewer as active *
* after they are completed. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
Tivoli Performance Viewer is reporting Local Transactions as
active even when they have completed.
LocalTranCoordinatorImpl records the Performance and
Monitoring figures for Local Transactions, and reports them
to the Tivoli Performance Viewer. However, it did not
report the completion of Local Transactions.
Problem conclusion
LocalTranCoordinatorImpl will be updated to report the
completion of Local Transactions to the Tivoli Performance
Viewer correctly.
This problem is not applicable to WebSphere Application Server
V5.1.
Temporary fix
PQ82835_Fix_501.jar for V5.0.1 and PQ82834_Fix_502.jar for
5.0.2 are available from IBM.
Comments
APAR information |
APAR number |
PQ82834 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00S |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-01-06 |
Closed date |
2004-02-19 |
Last modified date |
2004-02-19 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|