-
Bug
-
Resolution: Done
-
Major
-
None
-
None
The ejb unmarshalling exception test is failing in head.
This looks like it is a problem within JacORB or the JDK?
JBoss is throwing the correct exception:
2007-09-04 15:47:26,829 TRACE [org.jboss.proxy.ejb.EjbObjectCorbaServant.marshalliiop/MarshallSession] Exception in EJBObject invocation
org.omg.CORBA.MARSHAL: class not found: org.jboss.test.marshaliiop.TestPayload vmcid: 0x0 minor code: 0 completed: No
at org.jacorb.orb.CDRInputStream.read_untyped_value(Unknown Source)
at org.jacorb.orb.CDRInputStream.read_typed_value(Unknown Source)
at org.jacorb.orb.CDRInputStream.read_value(Unknown Source)
at org.jacorb.orb.Any.read_value(Unknown Source)
at org.jacorb.orb.CDRInputStream.read_any(Unknown Source)
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.readAny(Util.java:401)
at javax.rmi.CORBA.Util.readAny(Util.java:92)
at org.jboss.iiop.rmi.marshal.CDRStream$ObjectReader.read(CDRStream.java:616)
at org.jboss.iiop.rmi.marshal.strategy.SkeletonStrategy.readParams(SkeletonStrategy.java:128)
at org.jboss.proxy.ejb.EjbObjectCorbaServant._invoke(EjbObjectCorbaServant.java:275)
at org.jacorb.poa.RequestProcessor.invokeOperation(Unknown Source)
at org.jacorb.poa.RequestProcessor.process(Unknown Source)
at org.jacorb.poa.RequestProcessor.run(Unknown Source)
But by the time it hits the client side, it has lost the information and throws it as an UNKNOWN?
java.rmi.RemoteException: CORBA UNKNOWN 0 No; nested exception is:
org.omg.CORBA.UNKNOWN: org.omg.CORBA.portable.UnknownException: vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:282)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:148)
at org.jboss.proxy.ejb.DynamicIIOPStub.invokeInt(DynamicIIOPStub.java:242)
at org.jboss.test.marshaliiop.interfaces._MarshalSession_Stub.testMethod(Unknown Source)
at org.jboss.test.marshaliiop.test.EjbUnMarshalUnitTestCase.testUnMarshalException(EjbUnMarshalUnitTestCase.java:48)
Caused by: org.omg.CORBA.UNKNOWN: org.omg.CORBA.portable.UnknownException: vmcid: 0x0 minor code: 0 completed: No
at org.jacorb.orb.SystemExceptionHelper.read(SystemExceptionHelper.java:230)
at org.jacorb.orb.ReplyReceiver.getReply(Unknown Source)
at org.jacorb.orb.Delegate.invoke_internal(Unknown Source)
at org.jacorb.orb.Delegate.invoke(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:123)