[jboss-jira] [JBoss JIRA] Created: (JBAS-4661) org.jboss.test.marshaliiop.test.EjbUnMarshalUnitTestCase.testUnMarshalException failing

Adrian Brock (JIRA) jira-events at lists.jboss.org
Tue Sep 4 10:08:11 EDT 2007


org.jboss.test.marshaliiop.test.EjbUnMarshalUnitTestCase.testUnMarshalException failing
---------------------------------------------------------------------------------------

                 Key: JBAS-4661
                 URL: http://jira.jboss.com/jira/browse/JBAS-4661
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: IIOP service
            Reporter: Adrian Brock
         Assigned To: Francisco Reverbel
             Fix For: JBossAS-5.0.0.GA


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)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list