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

Random BAD_INV_ORDER exception while shutting down a persistent server

    XMLWordPrintable

Details

    • sparc
    • solaris_1

    Description

      *******************************************************************************

      ###@###.### 2002-05-13

      build : j2sdk-1_4_1-beta-bin-b11-solaris-sparc-07_may_2002

      Problem description :
      When a persistent server is shutdown from the client(orb.shutdown(false)) and multiple clients thread are invoking operations on the server, BAD_INV_ORDER with minor code 4 is raised randomly. The exception is more frequent if there are more no. of clients threads.

      Run the attahed test to reproduce the problem

      /java/re/jdk/1.4.1/promoted/latest/binaries/solaris-sparc/bin/java -classpath . -Dorg.omg.CORBA.ORBInitialPort=9090 -Dorg.omg.CORBA.ORBInitialHost=localhost test.Client 2 2 2
      Resolved NameService
      Starting test threads
      Resolved Counter0
      Resolved Counter1
      Test start time - Mon May 13 17:03:52 PDT 2002
      Excepted end time - Mon May 13 17:05:52 PDT 2002
      Shutting down server Counter0
      Shutting down server Counter1
      Shutting down server Counter0
      org.omg.CORBA.BAD_INV_ORDER: vmcid: OMG minor code: 4 completed: No
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
              at java.lang.Class.newInstance0(Class.java:297)
              at java.lang.Class.newInstance(Class.java:250)
              at com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:90)
              at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
              at com.sun.corba.se.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:129)
              at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
              at test._CounterStub.incr(_CounterStub.java:20)
              at test.Client$RequestThread.run(Client.java:99)
      Shutting down server Counter1
      Shutting down server Counter0
      org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
              at com.sun.corba.se.internal.iiop.IIOPConnection.purge_calls(IIOPConnection.java:438)
              at com.sun.corba.se.internal.iiop.ReaderThread.run(ReaderThread.java:70)
      Client **FAILED**
      Test complete - Mon May 13 17:05:53 PDT 2002
      Shutting down server Counter1


      Test case:
      Attached with the bug

      ******************************************************************************

      Attachments

        Issue Links

          Activity

            People

              kcavanauorcl Ken Cavanaugh (Inactive)
              smanuel Sony Manuel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: