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

java/rmi/reliability/benchmark/bench/rmi/Main.java fails intermittently with Address already in use

XMLWordPrintable

      java/rmi/reliability/benchmark/bench/rmi/Main.java

      fails intermittely with Address already in use:
      ----------System.err:(17/1357)----------
      java.lang.RuntimeException: Error: failed to initialize server: java.rmi.server.ExportException: Port already in use: 58579; nested exception is:
      java.net.BindException: Address already in use (Bind failed)
      at bench.rmi.Main.die(Main.java:203)
      at bench.rmi.Main.setupServer(Main.java:492)
      at bench.rmi.Main.main(Main.java:218)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

            smarks Stuart Marks
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: