IBM Support

PK89517; 7.0.0.5: use of uow_type_activitysession - activity service not started

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.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"6428","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK89517/readme.txt"}]
On
[{"DNLabel":"7.0.0.3-WS-WAS-IFPK89517","DNDate":"7/31/2009","DNLang":"US English","DNSize":"18330","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"https://www.ibm.com/support/fixcentral/quickorder?fixids=7.0.0.3-WS-WAS-IFPK89517&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK89517/7.0.0.3-WS-WAS-IFPK89517.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK89517/7.0.0.3-WS-WAS-IFPK89517.pak"}]

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).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Java Transaction Service (JTS)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0.0.3;7.0.0.5","Edition":"Base","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 October 2019

UID

swg24023928