PQ81448: WebSphere for z/OS java client receives java.io.IOException: Mismatched serialization UIDs.

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
A WebSphere for z/OS java client invokes EJB methods in an
application deployed on a WebSphere Distributed 4.0.7 server
running on a Windows XP workstation. The java client logs a
java.io.IOException and a java.rmi.MarshalException due to
mismatched serialization UIDs between the java client and the
server - but the serialization UIDs are actually identical. The
logs look like this:
----
java.io.IOException: Mismatched serialization UIDs :
  Source
  (Rep. IDRMI:test.Data:97ECCCC3F219672B:43162EF082E4AB06)
  = 43162EF082E4AB06
  whereas Target
  (Rep. ID RMI:test.Data:B5D31BEF76D1BD18:B967EAF253EBA451)
  = B967EAF253EBA451
 at com.ibm.rmi.io.IIOPInputStream.throwExceptionType
    (Native Method)
 at com.ibm.rmi.io.IIOPInputStream.simpleReadObject
    (IIOPInputStream.java:249)
 at com.ibm.rmi.io.ValueHandlerImpl.readValueInternal
    (ValueHandlerImpl.java:239)
 at com.ibm.rmi.io.ValueHandlerImpl.readValue
    (ValueHandlerImpl.java:180)
 at com.ibm.rmi.iiop.CDRInputStream.read_value
    (CDRInputStream.java:1499)
 at test._Test_Stub.getData(_Test_Stub.java:236)
 at test.TestClient.main(TestClient.java:29)
.
Exception in thread  java.rmi.MarshalException:
  CORBA MARSHAL 1229123584 No; nested exception is:
  org.omg.CORBA.MARSHAL: Unable to read value from underlying
  bridge : Mismatched serialization UIDs :
  Source
  (Rep. IDRMI:test.Data:97ECCCC3F219672B:43162EF082E4AB06)
  = 43162EF082E4AB06
  whereas
  Target
  (Rep. ID RMI:test.Data:B5D31BEF76D1BD18:B967EAF253EBA451)
  = B967EAF253EBA451
  minor code: 4942F000  completed: No
org.omg.CORBA.MARSHAL: Unable to read value from underlying
  bridge : Mismatched serialization UIDs :
  Source
  (Rep. IDRMI:test.Data:97ECCCC3F219672B:43162EF082E4AB06)
  = 43162EF082E4AB06
  whereas
  Target
  (Rep. ID RMI:test.Data:B5D31BEF76D1BD18:B967EAF253EBA451)
  = B967EAF253EBA451
  minor code: 4942F000  completed: No
  at com.ibm.rmi.iiop.CDRInputStream.read_value
     (CDRInputStream.java:1517)
  at test._Test_Stub.getData(_Test_Stub.java:236)
  at test.TestClient.main(TestClient.java:29)
=============================
Adjusting the serialization UID declaration to include the
attribute "private" solved the serialization UID mismatch, but
the parameter marshalling still failed.
If the client passed a null object on the ejb method invocation
then the following exceptions were returned.
----
java.io.IOException: No sending context was generated.
java.io.IOException: No sending context
  at com.ibm.rmi.io.IIOPInputStream.throwExceptionType
    (Native Method)
  at com.ibm.rmi.io.IIOPInputStream.simpleReadObject
    (IIOPInputStream.java:249)
  at com.ibm.rmi.io.ValueHandlerImpl.readValueInternal
    (ValueHandlerImpl.java:239)
  at com.ibm.rmi.io.ValueHandlerImpl.readValue
    (ValueHandlerImpl.java:180)
  at com.ibm.rmi.iiop.CDRInputStream.read_value
    (CDRInputStream.java:1499)
  at test._Test_Stub.getData(_Test_Stub.java:236)
  at test.TestClient.main(TestClient.java:29)
.
Exception in thread "P=720048:O=0:CT" java.rmi.MarshalException:
CORBA MARSHAL 1229123584 No; nested exception is:
  org.omg.CORBA.MARSHAL: Unable to read value from underlying
  bridge : No sending context
  minor code: 4942F000  completed: No
org.omg.CORBA.MARSHAL: Unable to read value from underlying
  bridge :
  No sending context
  minor code: 4942F000
  completed: No
  at com.ibm.rmi.iiop.CDRInputStream.read_value
    (CDRInputStream.java:1517)
  at test._Test_Stub.getData(_Test_Stub.java:236)
  at test.TestClient.main(TestClient.java:29)
====
If the client passed a non-null object on the invocation then
the following exceptions were returned.
----
Exception in thread java.rmi.MarshalException:
CORBA MARSHAL 0 No; nested exception is:
  org.omg.CORBA.MARSHAL:   minor code: 0  completed: No
  org.omg.CORBA.MARSHAL:   minor code: 0  completed: No
  at java.lang.Class.newInstance0(Native Method)
  at java.lang.Class.newInstance(Class.java:262)
  at com.ibm.rmi.util.Utility.readSystemException
    (Utility.java:1534)
  at com.ibm.ws390.rmi.corba.ClientDelegate.invoke
    (ClientDelegate.java:669)
  at org.omg.CORBA.portable.ObjectImpl._invoke
    (ObjectImpl.java:258)
  at test._Test_Stub.getData(_Test_Stub.java:235)
  at test.TestClient.main(TestClient.java:29)
.
The exception thrown in the server looked like this
----
org.omg.CORBA.MARSHAL: Unable to read value from underlying
bridge : null
  minor code: 0
  completed: No
  at com.ibm.rmi.iiop.CDRInputStream.read_value
    (CDRInputStream.java:1454)
  at test._EJSRemoteStatelessTest_7a6c606a_Tie.getData
    (_EJSRemoteStatelessTest_7a6c606a_Tie.java:152)
  at test._EJSRemoteStatelessTest_7a6c606a_Tie._invoke
    (_EJSRemoteStatelessTest_7a6c606a_Tie.java:96)
  at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch
    (ExtendedServerDelegate.java:532)
  at com.ibm.CORBA.iiop.ORB.process(ORB.java:2450)
  at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:186)
  at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run
    (ThreadPool.java:104)
  at com.ibm.ws.util.CachedThread.run
    (ThreadPool.java(Compiled code))
=====
=====
ORB traces taken in the client an on the server show that
the WebSphere for z/OS client is sending the wrong partner
version information to the WebSphere Distributed server.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 version 4.0.1 for z/OS and OS/390            *
****************************************************************
* PROBLEM DESCRIPTION: CORBA::MARSHAL exception on a WebSphere *
*                      distributed server with WebSphere       *
*                      V4.0.1 for z/OS and OS/390 as the       *
*                      client.                                 *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
This problem occurs when WebSphere for z/OS is acting as the
client, and sends a request to a distributed server containing
the following context (tag and value):
     49424D12 00000008 00000000 00000000
This context can cause various errors demarshalling data on
the distributed server:

java.lang.ClassNotFoundException:
java.io.FileNotFoundException:
  c:\path\to\ t e s t \ J M S B e a .class
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at java.io.FileInputStream.<init>(FileInputStream.java:109)

java.io.IOException
at com.ibm.rmi.iiop.Message.readFully(Message.java:322)
at com.ibm.rmi.iiop.Message.createFromStream(Message.java:172)
at com.ibm.CORBA.iiop.IIOPConnection.createInputStream
       (IIOPConnection.java:742)
at com.ibm.CORBA.iiop.StandardReaderThread.run
       (StandardReaderThread.java:136)
Problem conclusion
Initialization and management of context 49424D12 was updated
to correct marshalling conflicts with WebSphere on the
distributed platform.

APAR PQ81448 is associated with SERVICE LEVEL W401607 of
WebSphere Application Server version 4.0.1 for z/OS and OS/390.
Temporary fix Comments
APAR information
APAR number PQ81448
Reported component name WASKBASE
Reported component ID 5655A9801
Reported release 401
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-11-26
Closed date 2003-12-15
Last modified date 2004-01-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:
PQ81451 UQ83165

Modules/Macros
BBOAPCEI BBOAPCWI BBOAPIAI BBOAPIOI BBOAPXLI BBOAXCEI
BBOAXIAI BBOBOA BBOCCFMT BBOCHSES BBOCHSSS BBOCHTTP
BBOCLSES BBOCOMM BBOCORBA BBOCPOCB BBOCSESS BBOCSMHS
BBOCSMRH BBODDAUT BBOFRCGD BBOIBOIM BBOIDRMI BBOIGTID
BBOIIMA BBOIIMC BBOIKEYS BBOIRDB BBOIROOT BBOITLS
BBOI3PLI BBOJJU BBOLORB BBOLRT BBOMDDLO BBOMIBO
BBOMICP BBOMIDO BBOMSBO BBOMSCO BBOMUTIL BBOOACRT
BBOOBOAI BBOOBOAT BBOOCOMH BBOOCOMM BBOOCRHT BBOOCSIT
BBOOEJSB BBOOORB BBOOORBR BBOOREQ BBOOSMF BBOOSMFT
BBOOSRWT BBOOTMOT BBOOTRD BBOPBO BBOPBSC BBORAS
BBOSEC BBOSEXT BBOSLHM BBOSM BBOSNFED BBOSNMO
BBOSQ03 BBOTOTS BBOTOTSJ BBOTOTS2 BBOUBINF BBOZ0229
BBOZ0373 BBOZ0375 BBOZ0376 BBOZ0377 BBOZ0378 BBOZ0379
BBOZ0380 BBOZ0381 BBOZ0382 BBOZ0383 BBOZ0384 BBOZ0385
BBOZ0386 BBOZ0390 BBOZ0391 BBOZ0392 BBOZ0393 BBOZ0394
BBOZ0395 BBOZ0396 BBOZ0397 BBOZ0398 BBOZ0399 BBOZ0400
BBOZ0401 BBOZ0402 BBOZ0403 BBOZ0404 BBOZ0405 BBOZ0406
BBOZ0407 BBOZ0408 BBOZ0409 BBOZ0410 BBOZ0411 BBOZ0412
BBOZ0674 BBOZ0675 BBOZ0677 BBOZ0688 BBOZ0732 BBOZ0733
BBOZ0734 BBOZ0735 BBOZ0736 BBOZ0737 BBOZ0738 BBOZ0739
BBOZ0740 BBOZ0741 BBOZ0742 BBOZ0743 BBOZ0744 BBOZ0745
BBOZ0746 BBOZ0747 BBOZ0748 BBOZ0749 BBOZ0750 BBOZ0751
BBOZ0752 BBOZ0774 BBOZ0775 BBOZ0776 BBOZ0777 BBOZ0778
BBOZ0779 BBOZ0780 BBOZ0781 BBOZ0782 BBOZ0812 BBOZ0813
BBOZ0814 BBOZ0842 BBOZ0843 BBOZ0844 BBOZ0845 BBOZ0846
BBOZ0847 BBOZ0848 BBOZ0849 BBOZ0850 BBOZ0851 BBOZ0916
BBOZ0917 BBOZ0918 BBOZ0919 BBOZ0920 BBOZ0921 BBOZ0922
BBOZ0923 BBOZ0924 BBOZ0925 BBOZ0926 BBOZ0927 BBOZ0928
BBOZ0929 BBOZ0930 BBOZ0931 BBOZ0932 BBOZ0933  

Fix information
Fixed component name WASKBASE
Fixed component ID 5655A9801

Applicable component levels
R401 PSY UQ83165    UP03/12/18 P F312

  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


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ81448
IBM Group: Software Group
Modified date: Jan 3, 2004