Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6295238

RMI-IIOP Interoperability issues with BigInteger

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_8, solaris_10

      Description

      RMI-IIOP Interoperability issues with BigInteger

      Problems talking to WebSphere AppServer 6.0 running on both z/OS and windows.

      Bug has occurred running on both JDK 1.4.2_08 and 1.5.0_0x
      Seems to be the similar to CR: 6253108
      Seems to be the same as previous bug: Bug ID: 4966458
      ###@###.### 2005-07-11 10:11:30 GMT
      ===========================================
      Additional note (ON INTEROP between JDK's)
      ===========================================
      The above problem ALSO happens when running
      Application Server (SUNJSAS) AS81EEUR2 b12-p04. The testcase to see this is
      a) Run the client using JDK 1.6
      b) Run AS8.1 server (JDK 1.5)
      c) You can use the application server rmi-simple.ear (under AS81INSTALL/samples)

      In fact it just indicates that even everything in pure JDK can break
      due to this defect as long as JDK is mixed.
      In essense it seems that there is interoperabiliy between JDK version
      to use BigInteger or decimal

      ===================
      Stacktrace (JDK1.6)
      ====================
      (19859865) to ByteBufferPool.
      CorbaResponseWaitingRoomImpl(main): .unregisterWaiter: op/dollarToYen id/9
      Caught an unexpected exception!
      java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
              org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace----------
      org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
              at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadException(ORBUtilSystemException.java:6731)
              at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1045)
              at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
              at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:333)
              at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readArguments(DynamicMethodMarshallerImpl.java:393)
              at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
              at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
              at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
              at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
              at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
              at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
              at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
              at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
              at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:469)
              at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1258)
              at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
      Caused by: java.io.StreamCorruptedException:
              at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2365)
              at com.sun.corba.ee.impl.io.IIOPInputStream.defaultReadObjectDelegate(IIOPInputStream.java:570)
              at com.sun.corba.ee.impl.io.InputStreamHook.defaultReadObject(InputStreamHook.java:183)
              at java.math.BigDecimal.readObject(BigDecimal.java:2880)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1694)
              at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectUsingFVD(IIOPInputStream.java:1548)
              at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
              at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:330)
              at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:296)
              at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034)
              ... 14 more
      Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
              at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadException(ORBUtilSystemException.java:6731)
              at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1045)
              at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
              at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1892)
              at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2311)
              ... 27 more
      Caused by: java.io.StreamCorruptedException: Invalid indirection to offset 346
              at com.sun.corba.ee.impl.io.IIOPInputStream.inputRemoteMembersForReadFields(IIOPInputStream.java:2089)
              at com.sun.corba.ee.impl.io.IIOPInputStream.readFields(IIOPInputStream.java:2008)
              at com.sun.corba.ee.impl.io.InputStreamHook.readFields(InputStreamHook.java:216)
              at java.math.BigInteger.readObject(BigInteger.java:3098)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: