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

TEST_BUG: sun/rmi/rmic/manifestClassPath/run.sh fails with "non-JRMP server at remote endpoint"

    Details

    • Type: Bug
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      Exception in thread "main" java.rmi.ConnectIOException: non-JRMP server at remote endpoint
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:248)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
      at Main_Stub.doIt(Unknown Source)
      at Main.main(Main.java:11)
      result: Failed. Execution failed: exit code 1

      The failure is quite rare. I think I've seen it only once. The code in question exports an object and *immediately* (on the same thread) makes a call to it. It may be a race condition where exportObject() returns before the object has been fully exported. If so, this probably almost never happens in practice, as the stub from an exported object is usually passed to another JVM (e.g., a registry) before any call on it is actually made.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smarks Stuart Marks
                Reporter:
                smarks Stuart Marks
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: