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

client shutdown can bring down the server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 1.0
    • 1.0
    • hotspot
    • None
    • fcs
    • sparc
    • solaris_2.6

    Description

      Solaris only.

      On a client, invoke an RMI call to the server. Then, before
      the server can respond, shut down the client. If the server
      is running on hotspot, this causes the server to shut down. If
      the server is running on classic, it continues running.

      The reproducible test case is in ~mrm/hotspot/bugs/boothy. The set
      of files you need are in test_tiny.zip or you can run the client
      and server from there.


      To reproduce,

      % setenv CLASSPATH `pwd`
      % rmiregistry &
      % java rmi_test.RMITest & //invoke the client
      % java rmi_test.RMITestServer & //invoke the server

      Then, resize the client window so you can read what is written to
      the text area in the middle.

      Press First button. Press Second button.. Press Third button.
      Press "Die" button.

      When the server is invoked with hotspot, it also shuts down in
      about ten seconds.

      If the server is invoked with -classic it does not shut down. You'll
      notice it does print out the message "done sending data" but it
      lives on. When the server is invoked with hotspot, as soon as
      it sends the data, it shuts down. (so it seems.)


      Attachments

        Issue Links

          Activity

            People

              duke J. Duke
              mmuellersunw Marianne Mueller (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: