java.net.BindException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • javax/net/ssl/Stapling/SSLSocketWithStapling.java may fails with the following output: ----------System.out:(38/1637)---------- ======================================= Stapling enabled, default configuration ======================================= PASS ======================================= ===================================== Stapling enabled, PKIXParameters with Revocation checking enabled ===================================== PASS ===================================== ======================================= Stapling enabled, default configuration ======================================= PASS ======================================= ======================================= Stapling enbled in client and server, but OCSP responders disabled. PKIXParameters with Revocation checking enabled. ======================================= PASS ======================================= [pool-17-thread-1]: Exception: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(java.base@9-ea/Native Method) at java.net.AbstractPlainSocketImpl.bind(java.base@9-ea/AbstractPlainSocketImpl.java:437) at java.net.ServerSocket.bind(java.base@9-ea/ServerSocket.java:376) at sun.security.testlibrary.SimpleOCSPServer$2.run(SimpleOCSPServer.java:217) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-ea/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-ea/FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) ----------System.err:(16/953)---------- Server died... Server died... java.lang.RuntimeException: Server not ready yet at SSLSocketWithStapling.testHardFailFallback(SSLSocketWithStapling.java:327) at SSLSocketWithStapling.main(SSLSocketWithStapling.java:128) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
    via by Artem Smotrakov,
    • java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(java.base@9-ea/Native Method) at java.net.AbstractPlainSocketImpl.bind(java.base@9-ea/AbstractPlainSocketImpl.java:437) at java.net.ServerSocket.bind(java.base@9-ea/ServerSocket.java:376) at sun.security.testlibrary.SimpleOCSPServer$2.run(SimpleOCSPServer.java:217)
    No Bugmate found.