I have Glassfish 3.1.1 able to do a remote ejb lookup on a EJB from
Glassfish 2.1.1. However I'm getting nasty CORBA.MARSHAL exception when
the ejb returns JPA entity objects. The exact exception is:
#|2011-10-17T17:45:37.251-0400|WARNING|glassfish3.1.1|javax.enterprise.resource.corba.ORBUtil|_ThreadID=32;_ThreadName=Thread-3;|IOP00810011:
Exception from readValue on ValueHandler in CDRInputStream
org.omg.CORBA.MARSHAL: WARNING: IOP00810011: Exception from readValue on
ValueHandler in CDRInputStream vmcid: OMG minor code: 11 completed: Maybe
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
at
com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
at
com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
at $Proxy201.valuehandlerReadException(Unknown Source)
The only thing I can think of is glassfish 2.1.1 is using Toplink as its JPA
implementation and glassfish 3.1.1 is using EclipseLink as its JPA
implementation. Would having different JPA implementation cause this issue?
If so, is there something I can do to fix this? Do I need to add toplink
to my classpath for Glassfish 3.1.1?
--
[Message sent by forum member 'djgerbavore']
View Post: http://forums.java.net/node/854163