PK26986: WORKAREA CONTEXTS ARE NOT SERIALIZED/DESERIALIZED | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description WorkArea contexts are not serialized/deserialized, when making inter ear remote calls that remain on the originating server.Local fix Problem summary **************************************************************** * USERS AFFECTED: All WebSphere Business Integration Server * * users of Work Areas * **************************************************************** * PROBLEM DESCRIPTION: java.lang.ClassCastException was * * thrown when using Work Areas * **************************************************************** * RECOMMENDATION: * **************************************************************** When making a call from one ear to another when Work Areas were being used, the work area contexts were not serialized/deserialized across the call. In this case, the call resulted in a call that did not leave the server. If the application does not use shared libraries this can lead to a ClassCastException. This is because the interceptors that serialize/deserialize the Work Area contexts are not being called for 'remote' calls that remain on the same server.Problem conclusion Classes LocalActivityContext, ActivityServiceClientInterceptor and ActivityServiceServerInterceptor will be changed to optionally allow serialization to take place even when the remote call results in a call to the same server. This behaviour will be controlled by a Custom Property. The Custom Property is called com.ibm.ws.activity.registerForLocal. When set to true this new property will cause the interceptors to be called for all calls. When the property is set to true, you may notice a performance degradation due to the increase in interceptor calls. When the property is not set, or is set to any value other than true, the interceptors will only be driven for remote calls, as previously. To set the property, follow these steps. 1. From the Administrative Console, select Servers -> Application Servers -> server name 2. Make sure the Configuration Panel is selected 3. Click Process Definition 4. Click Java Virtual Machine 5. Click Custom Properties in the Additional Properties panel 6. Press the New button 7. Enter com.ibm.ws.activity.registerForLocal in Name , and true in Value 8. Press Ok and save the changes. 9. Restart the server for the change to be effective in the server. The fix for this APAR is currently targeted for inclusion in fixpack 5.1.1.14. Please refer to the recommended updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980 A new APAR will provide this function for WebSphere Application Server Version 6.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 10A
Software edition:
Reference #: PK26986
IBM Group: Software Group
Modified date: Jan 16, 2007
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.