PK60032: COMPLETEDPARENTCSCOPEBASCOPE CLASSCASTEXCEPTION DURING BASCOPE RECOVERY

 Fixes are available

6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for i5/OS
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Linux
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Solaris
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for HP-UX
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Windows
6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for AIX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for AIX
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for HP-UX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for i5/OS
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Linux
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Solaris
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Windows
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server



APAR status
Closed as program error.

Error description
A request from the client server is made to the midtier server;
the midtier processes the request and delays 30s after
completion of all transactions (ie. waiting in the BillPayment
EAR).

The midtier server is terminated (cancelled) and the client
server notices immediately HTTP Sender errors - connection
refused.

The midtier server is restarted, and logs several exceptions
including:

java.lang.ClassCastException:
    com.ibm.ws.cscope.CompletedParentCScope incompatible with
    com.ibm.ws.cscope.CScopeImpl
at com.ibm.ws.cscope.CScopeImpl.closeCompensators
    (CScopeImpl.java:695)
at com.ibm.ws.cscope.CScopeImpl.close
    (CScopeImpl.java:1399)
at com.ibm.ws.cscope.CScopeImpl.close
    (CScopeImpl.java:1399)
at com.ibm.ws.cscope.RecoveryManager.completeRecoveredData
    (RecoveryManager.java:778)
at com.ibm.ws.cscope.RecoveryManager.processRecoveredData
    (RecoveryManager.java:662)
at com.ibm.ws.cscope.RecoveryManager.run
    (RecoveryManager.java:434)
MidTier server logs: com.ibm.ws390.tx.XARecoveryAgentImpl --
BBOO0222I: WTRN0028I: Transaction service recovering 0
transactions.
and midtier is servicable.

Graceful shutdown of MidTier server is attempted but fails;
midtier server is terminated (cancelled) and restarted.  Midtier
logs exceptions as above.

Above scenarios run under WAS zOS 6.1.0.9.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V6.1 for z/OS                                *
****************************************************************
* PROBLEM DESCRIPTION: CompletedParentCscope                   *
*                      ClassCastException during Compensation  *
*                      Service recovery                        *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
A request from the client server is made to a remote server;
the remote server processes the request and delays for 30
seconds after completion of all transactions (ie. waiting in
the customer written EAR).

The remote server is terminated (cancelled) and the client
server immediately receives HTTP Sender errors - connection
refused.

The remote server is restarted, and logs several exceptions
including:

java.lang.ClassCastException:
    com.ibm.ws.cscope.CompletedParentCScope incompatible with
    com.ibm.ws.cscope.CScopeImpl
at com.ibm.ws.cscope.CScopeImpl.closeCompensators
    (CScopeImpl.java:695)
at com.ibm.ws.cscope.CScopeImpl.close
    (CScopeImpl.java:1399)
at com.ibm.ws.cscope.CScopeImpl.close
    (CScopeImpl.java:1399)
at com.ibm.ws.cscope.RecoveryManager.completeRecoveredData
    (RecoveryManager.java:778)
at com.ibm.ws.cscope.RecoveryManager.processRecoveredData
    (RecoveryManager.java:662)
at com.ibm.ws.cscope.RecoveryManager.run
(RecoveryManager.java:434)

The remote server logs the following message:
com.ibm.ws390.tx.XARecoveryAgentImpl -- BBOO0222I: WTRN0028I:
Transaction service recovering 0 transactions.
and the remote server is servicable.

Graceful shutdown of the remote server is attempted but fails;
the remote server is terminated (cancelled) and restarted. The
remote server logs exceptions as above.

In this case, the Compensation Service was trying to cast a
CompletedParentCScope to a CScopeImpl, but the object was not
of the correct type, resulting in the ClassCastException.
Problem conclusion
Class CScopeImpl will be changed to ensure that any Compensation
Scope's parent is of the right type before trying to cast it to
a CScopeImpl.

APAR PK60032 is currently targeted for inclusion in Service
Level (Fix Pack) 6.1.0.17 of WebSphere Application Server V6.1
for z/OS.
Temporary fix Comments
APAR information
APAR number PK60032
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 610
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2008-01-28
Closed date 2008-03-26
Last modified date 2008-07-02

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
CSCOPE          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSN    UP
R601 PSN    UP
R610 PSY UK36750    UP08/06/10 P F806

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Current web document: swg1PK60032.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 610
Software edition:
Reference #: PK60032
IBM Group: Software Group
Modified date: Jul 2, 2008