0 Replies Latest reply on Jan 28, 2005 3:46 PM by chris bono

    org.omg.CORBA.MARSHAL: unknown value tag: 4

    chris bono Newbie

      Setup
      -----------------
      * WindowsXP
      * Sun1.4.2_05
      * JBoss3.2.3
      * Janeva invoking JBoss via IIOP

      I am getting a marshal exception when I call a session bean over iiop from my Janeva client. The object that I am passing in was previously unmarshalled on a previous successful call.

      Example:
      -----------
      MyObject obj = svc.getMyObject();
      obj.setName("foo");
      svc.updateMyObject(obj);

      The last call fails w/ the following exception:

      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : *** getApplication__CORBA_WStringValue__CORBA_WStringValue -> public abstra
      ct org.twia.submission.Application org.twia.submission.ApplicationSession.getApplication(java.lang.String,java.lang.Stri
      ng) throws java.rmi.RemoteException
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : *** id RMI:org.twia.submission.ApplicationSession:0000000000000000
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : *** id RMI:javax.ejb.EJBObject:0000000000000000
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : [ Read Type code of kind 29 at pos: 204 ]
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : [ Read Type code of kind 29 at pos: 292 ]
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : [ Read Type code of kind 0 at pos: 380 ]
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : [ Read Type code of kind 3 at pos: 404 ]
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : org.omg.CORBA.MARSHAL: unknown value tag: 4 vmcid: 0x0 minor code: 0 co
      mpleted: No
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jacorb.orb.CDRInputStream.read_value(Unknown Source)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInp
      utStream.java:1577)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInp
      utStream.java:1796)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStr
      eam.java:913)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInp
      utStream.java:261)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(Value
      HandlerImpl.java:247)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerI
      mpl.java:209)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jacorb.util.ValueHandler.readValue(Unknown Source)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jacorb.orb.CDRInputStream.read_untyped_value(Unknown Source)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jacorb.orb.CDRInputStream.read_typed_value(Unknown Source)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jacorb.orb.CDRInputStream.read_value(Unknown Source)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jboss.iiop.rmi.marshal.CDRStream$ValuetypeReader.read(CDRStream.j
      ava:754)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jboss.iiop.rmi.marshal.strategy.SkeletonStrategy.readParams(Skele
      tonStrategy.java:116)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jboss.proxy.ejb.EjbObjectCorbaServant._invoke(EjbObjectCorbaServa
      nt.java:194)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jacorb.poa.RequestProcessor.invokeOperation(Unknown Source)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jacorb.poa.RequestProcessor.process(Unknown Source)
      [ERROR]@[28 Jan 2005 14:36:51,120] [STDERR] : at org.jacorb.poa.RequestProcessor.run(Unknown Source)
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : [ POA EJBObject&%org&%twia&%submission&%ApplicationSession - rid: 16 oid:
      AC ED 00 05 70 ....p
      opname: saveApplication - invocation: system exception was thrown (org.omg.CORBA.portable.UnknownException: vmcid: 0x
      0 minor code: 0 completed: Maybe) ]
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : ############################ StackTrace ############################
      [INFO]@[28 Jan 2005 14:36:51,120] [STDOUT] : org.omg.CORBA.portable.UnknownException: vmcid: 0x0 minor code: 0 comple
      ted: Maybe
      [INFO]@[28 Jan 2005 14:36:51,130] [STDOUT] : at org.jboss.iiop.rmi.marshal.strategy.SkeletonStrategy.writeException(S
      keletonStrategy.java:164)
      [INFO]@[28 Jan 2005 14:36:51,130] [STDOUT] : at org.jboss.proxy.ejb.EjbObjectCorbaServant._invoke(EjbObjectCorbaServa
      nt.java:227)
      [INFO]@[28 Jan 2005 14:36:51,130] [STDOUT] : at org.jacorb.poa.RequestProcessor.invokeOperation(Unknown Source)
      [INFO]@[28 Jan 2005 14:36:51,130] [STDOUT] : at org.jacorb.poa.RequestProcessor.process(Unknown Source)
      [INFO]@[28 Jan 2005 14:36:51,130] [STDOUT] : at org.jacorb.poa.RequestProcessor.run(Unknown Source)
      [INFO]@[28 Jan 2005 14:36:51,130] [STDOUT] : ####################################################################
      [INFO]@[28 Jan 2005 14:36:51,130] [STDOUT] : [ ServerRequest: reply to saveApplication ]
      [INFO]@[28 Jan 2005 14:36:51,130] [STDOUT] : [ POA EJBObject&%org&%twia&%submission&%ApplicationSession - rid: 16 oid:
      AC ED 00 05 70 ....p
      opname: saveApplication - ends with request processing ]
      [INFO]@[28 Jan 2005 14:37:14,223] [STDOUT] : [ Transport to 172.16.0.132:1970: stream closed ]