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

RMI Activation Bug: test client hangs on RMI call to server - no exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • 1.2.0
    • core-libs
    • sparc
    • solaris_2.6

    Description


      arthur.frechette@East 1998-07-22

      System Under Test: Solaris 2.6
      JDK: JDK-1.2fcs-B

      Upon following the latest JDK1.2 Beta 4 activation tutorials I notice the
      following problem:

      Steps:

      rmiregistry&
      rmid&

      I Create an ActivationDesc for CountServer object and register it with the
      Activation system. Next I perform a Naming.rebing() to bind the stub
      implementation to the registry. The program now exists after this. This is
      so that when I run the test client below the activation system should re-activate this object for me.

      I next run the test client which does a Naming.lookup() of the object bound
      above in the registry. The client successfully gets the server reference so
      it appears that the server object has been re-activated since a valid
      server ref is returned. The client next proceeds to perform RMI calls to the
      server. The test client appears
      to hang at this point. No exception is thrown. Upon hitting CTRL_C and
      restarting test client again it goes through the same procedure and
      when it performs the RMI call this time it works.

      This appears to be a bug the first time the object is activated not allowing
      the RMI call to finish.

      Spoke with Ann Wollrath on this. The bug appears to be related to I/O of
      the socket connection to the RMI object. That is my guess but not really
      sure.

      Attachments

        Issue Links

          Activity

            People

              peterjones Peter Jones
              afrechet Art Frechette (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: