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

sun/tools/jstatd tests failed with Port already in use

XMLWordPrintable

    • x86_64
    • windows

      sun/tools/jstatd/TestJstatdServer.java and sun/tools/jstatd/TestJstatdDefaults.java failed with:

      [Jstatd-Thread] Could not bind /TestJstatdServer to RMI Registry
      [Jstatd-Thread] java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
      [Jstatd-Thread] java.net.BindException: Address already in use: bind
      [Jstatd-Thread] at java.rmi/sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:335)
      [Jstatd-Thread] at java.rmi/sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:243)
      [Jstatd-Thread] at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
      [Jstatd-Thread] at java.rmi/sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
      [Jstatd-Thread] at java.rmi/sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:234)
      [Jstatd-Thread] at java.rmi/sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:220)
      [Jstatd-Thread] at java.rmi/sun.rmi.registry.RegistryImpl$2.run(RegistryImpl.java:196)
      [Jstatd-Thread] at java.rmi/sun.rmi.registry.RegistryImpl$2.run(RegistryImpl.java:193)
      [Jstatd-Thread] at java.base/java.security.AccessController.doPrivileged(AccessController.java:690)
      [Jstatd-Thread] at java.base/java.security.AccessController.doPrivileged(AccessController.java:863)
      [Jstatd-Thread] at java.rmi/sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:193)
      [Jstatd-Thread] at java.rmi/java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
      [Jstatd-Thread] at jdk.jstatd/sun.tools.jstatd.Jstatd.bind(Jstatd.java:67)

            amenkov Alex Menkov
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: