-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b138
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8315081 | 8u401 | Ramesh Yuvaraj | P4 | Resolved | Fixed | b01 |
sun/security/ssl/SocketCreation/SocketCreation.java fails intermittently due to Address already in use
#section:main
----------messages:(4/392)----------
command: main SocketCreation SunJSSE does not support dynamic system properties, no way to re-use system properties in samevm/agentvm mode.
reason: User specified action: run main/othervm/timeout=300 SocketCreation SunJSSE does not support dynamic system properties, no way to re-use system properties in samevm/agentvm mode.
Mode: othervm [/othervm specified]
elapsed time (seconds): 1.025
----------configuration:(0/0)----------
----------System.out:(9/292)----------
-------------------------------------
Server: Will call createServerSocket(int)
Server: Will accept on SSL server socket...
Client: Will call createSocket(String, int)
Server read: 24
Client read: 85
Server: Will call createServerSocket(int)
Client: Will call createSocket(InetAddress, int)
----------System.err:(27/1959)----------
Server died...java.net.BindException: Address already in use
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400)
at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243)
at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225)
at java.net.SocksSocketImpl.connect(java.base@9-internal/SocksSocketImpl.java:402)
at java.net.Socket.connect(java.base@9-internal/Socket.java:591)
at sun.security.ssl.SSLSocketImpl.connect(java.base@9-internal/SSLSocketImpl.java:652)
at sun.security.ssl.SSLSocketImpl.<init>(java.base@9-internal/SSLSocketImpl.java:436)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:137)
at SocketCreation.connectNormally1(SocketCreation.java:318)
at SocketCreation.doClientSide(SocketCreation.java:275)
at SocketCreation.startClient(SocketCreation.java:508)
at SocketCreation.<init>(SocketCreation.java:440)
at SocketCreation.main(SocketCreation.java:413)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
#section:main
----------messages:(4/392)----------
command: main SocketCreation SunJSSE does not support dynamic system properties, no way to re-use system properties in samevm/agentvm mode.
reason: User specified action: run main/othervm/timeout=300 SocketCreation SunJSSE does not support dynamic system properties, no way to re-use system properties in samevm/agentvm mode.
Mode: othervm [/othervm specified]
elapsed time (seconds): 1.025
----------configuration:(0/0)----------
----------System.out:(9/292)----------
-------------------------------------
Server: Will call createServerSocket(int)
Server: Will accept on SSL server socket...
Client: Will call createSocket(String, int)
Server read: 24
Client read: 85
Server: Will call createServerSocket(int)
Client: Will call createSocket(InetAddress, int)
----------System.err:(27/1959)----------
Server died...java.net.BindException: Address already in use
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(java.base@9-internal/Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-internal/AbstractPlainSocketImpl.java:400)
at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-internal/AbstractPlainSocketImpl.java:243)
at java.net.AbstractPlainSocketImpl.connect(java.base@9-internal/AbstractPlainSocketImpl.java:225)
at java.net.SocksSocketImpl.connect(java.base@9-internal/SocksSocketImpl.java:402)
at java.net.Socket.connect(java.base@9-internal/Socket.java:591)
at sun.security.ssl.SSLSocketImpl.connect(java.base@9-internal/SSLSocketImpl.java:652)
at sun.security.ssl.SSLSocketImpl.<init>(java.base@9-internal/SSLSocketImpl.java:436)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:137)
at SocketCreation.connectNormally1(SocketCreation.java:318)
at SocketCreation.doClientSide(SocketCreation.java:275)
at SocketCreation.startClient(SocketCreation.java:508)
at SocketCreation.<init>(SocketCreation.java:440)
at SocketCreation.main(SocketCreation.java:413)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
- backported by
-
JDK-8315081 sun/security/ssl/SocketCreation/SocketCreation.java fails intermittently: Address already in use
- Resolved