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

Entity container doesn't like Collections of EJB refs

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      the test at

      TEST_HOME/test/container/lifecycle/entmarsh

      The "Entity Marshal" test

      attempts to send an ArrayList of EJB refs to an Entity bean through a method that takes a java.lang.Object as an argument. The Entity bean then sends the Object back.

      The client receives a java.rmi.MarshalException saying:

      CORBA MARSHAL 0 No; nested exception is:
              org.omg.CORBA.MARSHAL: minor code: 0 completed: No



      The server trace says:

      Exception in thread "RequestProcessor" org.omg.CORBA.MARSHAL: underflow called with grow strategy minor code: 1398079690 completed: No
              at com.sun.corba.ee.internal.iiop.BufferManagerReadGrow.underflow(BufferManagerReadGrow.java:28)
              at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.grow(CDRInputStream_1_0.java:260)
              at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.readStringOrIndirection(CDRInputStream_1_0.java:419)
              at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_string(CDRInputStream_1_0.java:442)
              at com.sun.corba.ee.internal.iiop.CDRInputStream.read_string(CDRInputStream.java:194)
              at com.sun.corba.ee.internal.ior.IIOPAddressImpl.<init>(IIOPAddressImpl.java:29)
              at com.sun.corba.ee.internal.ior.IIOPProfile.<init>(IIOPProfile.java:73)
              at com.sun.corba.ee.internal.ior.TaggedProfileFactoryFinder.create(TaggedProfileFactoryFinder.java:46)
              at com.sun.corba.ee.internal.ior.IdEncapsulationContainerBase.readIdEncapsulationSequence(IdEncapsulationContainerBase.java:39)
              at com.sun.corba.ee.internal.ior.IOR.<init>(IOR.java:139)
              at com.sun.corba.ee.internal.core.IOR.<init>(IOR.java:219)
              at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:530)
              at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:685)
              at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:679)
              at com.sun.corba.ee.internal.iiop.CDRInputStream.read_abstract_interface(CDRInputStream.java:306)
              at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:198)
              at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:348)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
              at java.util.ArrayList.readObject(ArrayList.java:531)
              at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
              at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1160)
              at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:785)
              at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:229)
              at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:234)
              at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:194)
              at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:821)
              at com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:286)
              at com.sun.corba.ee.internal.corba.TCUtility.unmarshalIn(TCUtility.java:274)
              at com.sun.corba.ee.internal.corba.AnyImpl.read_value(AnyImpl.java:550)
              at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:518)
              at com.sun.corba.ee.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:257)
              at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:199)
              at javax.rmi.CORBA.Util.readAny(Util.java:92)
              at test.container.lifecycle.entmarsh.tier2._Tier2EJB_EJBObjectImpl_Tie._invoke(Unknown Source)
              at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:562)
              at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:176)
              at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:106)
              at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:264)
              at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:89)
              at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:91)





      brian.preston@eng 2000-11-30

        Attachments

          Activity

            People

            Assignee:
            eandersosunw Everett Anderson (Inactive)
            Reporter:
            bprestonsunw Brian Preston (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: