Download
Abstract
NullPointerException occurred when call to runUnderUOW was made with option UOW_TYPE_ACTIVITYSESSION specified.
Download Description
PK89517 resolves the following problem:
ERROR DESCRIPTION:
Use of UOW_TYPE_ACTIVITYSESSION when activity service is not started in the server.
LOCAL FIX:
PROBLEM SUMMARY
USERS AFFECTED:
All IBM WebSphere Application Server users of the Transaction Service facility UOWManager.
PROBLEM DESCRIPTION:
NullPointerException occurred when call to runUnderUOW was made with option UOW_TYPE_ACTIVITYSESSION specified.
RECOMMENDATION:
None
NullPointerException occurred when a call to UOWmanager's runUnderUOW() method was made with option UOW_TYPE_ACTIVITYSESSION specified. In this case the server was running with the ActivitySession service disabled. The root cause of the NullPointerException was that the UOWManager service did not check for the ActivitySession being active before trying to create a new ActivitySession.
PROBLEM CONCLUSION:
The UOWManager service has been changed to ensure that an attempt to start a new ActivitySession is only made if the ActivitySession service is enabled on the server. Method runUnderUOW with UOW_TYPE_ACTIVITYSESSION specified will throw a UOWException with a cause of ActivitySession.SystemException if the ActivitySession service is not enabled.
The fix for this APAR is currently targeted for inclusion in Fix Packs 6.0.2.39, 6.1.0.29 and 7.0.0.7. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Prerequisites
Please download the UpdateInstaller below to install this fix.
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
07 October 2019
UID
swg24023928