IBM Support

Calling getHandle() in a WebSphere Application Client Throws a CORBA MARSHAL Exception

Troubleshooting


Problem

A thin Java™ client accessing an EJB on a version 6.0.x WebSphere Application Server gets the following error as soon as it tries to call getHandle(): Caused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Custom marshaling (4) Sender's class does not match local class vmcid: IBM minor code: 896 completed: No NOTE: the org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge error is a fairly generic error that means some "underlying error" caused the CORBA processing to fail to send the full message. This particular technote is documenting one specific cause of this error.

Symptom

CORBA MARSHAL 0x4942f896 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Custom marshaling (4) Sender's class does not match local class vmcid: IBM minor code: 896 completed: No
java.rmi.MarshalException: CORBA MARSHAL 0x4942f896 No;
nested exception is: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge :
Custom marshaling (4) Sender's class does not match local class vmcid:
IBM minor code: 896 completed: No
at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException

(UtilDelegateImpl.java:204)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:84)
at com.ibm.websphere.samples.technologysamples.ejb.stateless.


basiccalculatorejb._BasicCalculator_Stub.getHandle
(_BasicCalculator_Stub.java:169)
at basic.calc.BasicCalculatorClientMain.main

(BasicCalculatorClientMain.java:45)
...
Caused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Custom marshaling (4) Sender's class does not match local class vmcid:

IBM minor code: 896 completed: No
at com.ibm.rmi.iiop.CDRInputStream.read_value

(CDRInputStream.java:1381)
at com.ibm.rmi.iiop.CDRInputStream.read_abstract_interface

(CDRInputStream.java:1353)
at com.ibm.websphere.samples.technologysamples.ejb.stateless.


basiccalculatorejb._BasicCalculator_Stub.getHandle
(_BasicCalculator_Stub.java:158)
... 1 more

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Application Client","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":"9.0;8.5.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"7.0;6.1;6.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
03 March 2025

UID

swg21212129