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"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • tbd
    • None
    • core-libs
    • None

      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.

            smarks Stuart Marks
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: