Exception occurs when J2EE application client code, using Java 2 SDK, v1.4.1, accesses an EJB on WebSphere Application Server, using Java 2 SDK, v1.3.1
 Technote (troubleshooting)
 
Problem(Abstract)
Your Java™ 2 Platform, Enterprise Edition (J2EE™) application client code is using the Java 2 SDK, v1.4.1. When an Enterprise JavaBeans™ (EJB™) client calls WebSphere® Application Server V5.0.2, which uses a Java 2 SDK, v1.3.1, and an exception occurs. There are some known interoperability issues between the Object Request Brokers (ORB), however, this is a supported configuration.
 
Cause


Known interoperability issues between the ORBs

In this case, the exception occurs when WebSphere Application Server V5.0.2, Enterprise Edition tries to call an EJB with a synchronized, or unmodifiable wrapped collection as a parameter. This happens completely on the client; the server is never reached, because the exception occurs when writing the argument to the method.

The stack trace shows the following:

CORBA MARSHAL 0x4942f8af No; nested exception is: org.omg.CORBA.MARSHAL:                                              
java.util.Collections$SynchronizedRandomAccessList writeReplace returned incompatible type java.util.Collections$SynchronizedList  vmcid: IBM minor code: 8AF  completed: No
java.rmi.MarshalException: CORBA MARSHAL 0x4942f8af No; nested exception is: org.omg.CORBA.MARSHAL:
java.util.Collections$SynchronizedRandomAccessList writeReplace returned incompatible type java.util.Collections$SynchronizedList  vmcid: IBM minor code: 8AF  completed: No
  at
com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:205)
  at
javax.rmi.CORBA.Util.mapSystemException(Util.java:83)
  at
com.msa.gabriel.traffic.spotdist.session.spotdistribution.
_SpotDistribution_Stub.unScheduleUnits(_SpotDistribution_Stub.java:983)
  at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
  at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
  at com.msa.media.util.WrapperProxy.invoke(WrapperProxy.java:113)
  at $Proxy1.unScheduleUnits(Unknown Source)
  at
com.msa.gabriel.traffic.spotdist.ui.SpotDistDelegate.unscheduleUnits(SpotDistDelegate.java:927)
  at
com.msa.gabriel.traffic.spotdist.ui.SpotDistPanel$1$MoveSwingWorker.construct(SpotDistPanel.java:4003)
  at com.msa.media.ui.util.SwingWorker$2.run(SwingWorker.java:127)
  at java.lang.Thread.run(Thread.java:568)

 
Resolving the problem
Install the Java 2 SDK from the V5.1 Application Client, 1.4.11_datestring for the proper operating system.

OR

Install the V5.1 Client.

 
Related information
Install 5.1 Client
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Application Client
Operating system(s): Windows
Software version: 5.0.2.5
Software edition:
Reference #: 1172965
IBM Group: Software Group
Modified date: Feb 14, 2005