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

[TEST_BUG]: java/rmi/transport/pinClientSocketFactory/PinClientSocketFactory.java fails intermittently

XMLWordPrintable

    • b54
    • Not verified

        TESTFAIL:java/rmi/transport/pinClientSocketFactory/PinClientSocketFactory.java

        java.rmi.server.ExportException: Port already in use: 32796; nested exception is:
        java.net.BindException: Address already in use
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:329)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:237)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
        at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122)
        at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:108)
        at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
        at PinClientSocketFactory.main(PinClientSocketFactory.java:99)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:474)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:722)
        Caused by: java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at java.net.ServerSocket.<init>(ServerSocket.java:128)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:344)
        at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:318)
        ... 14 more

              chegar Chris Hegarty
              smarks Stuart Marks
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: