java.net.ConnectException: Connection refused at sun.rmi.server.ActivatableRef.activate(java.rmi@9-ea/ActivatableRef.java:298) at sun.rmi.server.ActivatableRef.invoke(java.rmi@9-ea/ActivatableRef.java:133)

JDK Bug System | Frank Yuan | 4 months ago
  1. 0

    ----------System.err:(80/7469)---------- RMID: Starting rmid on port 62253. JAVAVM: command = [/scratch/jenkins/workspace/9-dev/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog, -Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/scratch/3/./log, -port, 62253, -C-Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog, -C-Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog, -C-ea, -C-esa, -C-Xmx512m, -C-Djava.rmi.server.useCodebaseOnly=false] RMID: Started successfully after 1582ms. Creating group descriptor Registering group Creating descriptor Registering descriptor RMID: shutdown() RMID: ActivationSystem.shutdown() activation daemon shut down RMID: Shutdown successful after 405ms. RMID: Starting rmid on port 62253. JAVAVM: command = [/scratch/jenkins/workspace/9-dev/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/rmid.security.policy, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog, -Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/scratch/3/./log, -port, 62253, -C-Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog, -C-Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog, -C-ea, -C-esa, -C-Xmx512m, -C-Djava.rmi.server.useCodebaseOnly=false] RMID: Started successfully after 1020ms. activation daemon shut down Activate the object via method call failure: unexpected exception java.rmi.ConnectException: activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused java.rmi.ConnectException: activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.server.ActivatableRef.activate(java.rmi@9-ea/ActivatableRef.java:298) at sun.rmi.server.ActivatableRef.invoke(java.rmi@9-ea/ActivatableRef.java:133) at CheckRegisterInLog_Stub.ping(CheckRegisterInLog_Stub.java:77) at CheckRegisterInLog.main(CheckRegisterInLog.java:154) 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) Caused by: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(java.rmi@9-ea/TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(java.rmi@9-ea/TCPChannel.java:214) at sun.rmi.transport.tcp.TCPChannel.newConnection(java.rmi@9-ea/TCPChannel.java:200) at sun.rmi.server.UnicastRef.invoke(java.rmi@9-ea/UnicastRef.java:130) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(java.rmi@9-ea/RemoteObjectInvocationHandler.java:209) at java.rmi.server.RemoteObjectInvocationHandler.invoke(java.rmi@9-ea/RemoteObjectInvocationHandler.java:161) at com.sun.proxy.$Proxy0.activate(Unknown Source) at java.rmi.activation.ActivationID.activate(java.rmi@9-ea/ActivationID.java:118) at sun.rmi.server.ActivatableRef.activate(java.rmi@9-ea/ActivatableRef.java:277) ... 9 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(java.base@9-ea/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-ea/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-ea/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-ea/AbstractPlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(java.base@9-ea/SocksSocketImpl.java:402) at java.net.Socket.connect(java.base@9-ea/Socket.java:591) at java.net.Socket.connect(java.base@9-ea/Socket.java:540) at java.net.Socket.<init>(java.base@9-ea/Socket.java:436) at java.net.Socket.<init>(java.base@9-ea/Socket.java:213) at sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(java.rmi@9-ea/TCPDirectSocketFactory.java:40) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(java.rmi@9-ea/TCPEndpoint.java:613) ... 17 more RMID: shutdown() RMID: lookupSystem() returned null after 2ms. RMID: Destroying RMID process. RMID: Destroy successful after 3ms. RMID: Removing rmid's old log file. java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused at CheckRegisterInLog.main(CheckRegisterInLog.java:169) 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) JavaTest Message: Test threw exception: java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused ----------rerun:(30/3099)*---------- HOME=/opt/mach5/mach5-one \\ LANG=en_US.UTF-8 \\ LC_ALL=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ buildid=BUILD_ID \\ CLASSPATH=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/testlibrary:/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/testlibrary:/scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/javatest.jar:/scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/jtreg.jar \\ /scratch/jenkins/workspace/9-dev/jdk/bin/java \\ -Dtest.class.path.prefix=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/testlibrary \\ -Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog \\ -Dtest.src.path=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/testlibrary \\ -Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog \\ -Dtest.class.path=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/testlibrary \\ -Dtest.vm.opts='-ea -esa -Xmx512m' \\ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -Dtest.compiler.opts= \\ -Dtest.java.opts= \\ -Dtest.jdk=/scratch/jenkins/workspace/9-dev/jdk \\ -Dcompile.jdk=/scratch/jenkins/workspace/9-dev/jdk \\ -Dtest.timeout.factor=5.0 \\ -Dtest.modules='java.rmi/sun.rmi.registry java.rmi/sun.rmi.server java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp' \\ -Djava.security.policy==/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/scratch/3/security.policy_new \\ -Djava.security.manager=default \\ -XaddExports:java.rmi/sun.rmi.registry=ALL-UNNAMED \\ -XaddExports:java.rmi/sun.rmi.server=ALL-UNNAMED \\ -XaddExports:java.rmi/sun.rmi.transport=ALL-UNNAMED \\ -XaddExports:java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \\ -ea \\ -esa \\ -Xmx512m \\ com.sun.javatest.regtest.agent.MainWrapper /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.d/main.0.jta result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused

    JDK Bug System | 4 months ago | Frank Yuan
    java.net.ConnectException: Connection refused at sun.rmi.server.ActivatableRef.activate(java.rmi@9-ea/ActivatableRef.java:298) at sun.rmi.server.ActivatableRef.invoke(java.rmi@9-ea/ActivatableRef.java:133)
  2. 0

    ----------System.err:(80/7469)---------- RMID: Starting rmid on port 62253. JAVAVM: command = [/scratch/jenkins/workspace/9-dev/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog, -Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/scratch/3/./log, -port, 62253, -C-Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog, -C-Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog, -C-ea, -C-esa, -C-Xmx512m, -C-Djava.rmi.server.useCodebaseOnly=false] RMID: Started successfully after 1582ms. Creating group descriptor Registering group Creating descriptor Registering descriptor RMID: shutdown() RMID: ActivationSystem.shutdown() activation daemon shut down RMID: Shutdown successful after 405ms. RMID: Starting rmid on port 62253. JAVAVM: command = [/scratch/jenkins/workspace/9-dev/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/rmid.security.policy, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog, -Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/scratch/3/./log, -port, 62253, -C-Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog, -C-Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog, -C-ea, -C-esa, -C-Xmx512m, -C-Djava.rmi.server.useCodebaseOnly=false] RMID: Started successfully after 1020ms. activation daemon shut down Activate the object via method call failure: unexpected exception java.rmi.ConnectException: activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused java.rmi.ConnectException: activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.server.ActivatableRef.activate(java.rmi@9-ea/ActivatableRef.java:298) at sun.rmi.server.ActivatableRef.invoke(java.rmi@9-ea/ActivatableRef.java:133) at CheckRegisterInLog_Stub.ping(CheckRegisterInLog_Stub.java:77) at CheckRegisterInLog.main(CheckRegisterInLog.java:154) 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) Caused by: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(java.rmi@9-ea/TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(java.rmi@9-ea/TCPChannel.java:214) at sun.rmi.transport.tcp.TCPChannel.newConnection(java.rmi@9-ea/TCPChannel.java:200) at sun.rmi.server.UnicastRef.invoke(java.rmi@9-ea/UnicastRef.java:130) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(java.rmi@9-ea/RemoteObjectInvocationHandler.java:209) at java.rmi.server.RemoteObjectInvocationHandler.invoke(java.rmi@9-ea/RemoteObjectInvocationHandler.java:161) at com.sun.proxy.$Proxy0.activate(Unknown Source) at java.rmi.activation.ActivationID.activate(java.rmi@9-ea/ActivationID.java:118) at sun.rmi.server.ActivatableRef.activate(java.rmi@9-ea/ActivatableRef.java:277) ... 9 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(java.base@9-ea/Native Method) at java.net.AbstractPlainSocketImpl.doConnect(java.base@9-ea/AbstractPlainSocketImpl.java:400) at java.net.AbstractPlainSocketImpl.connectToAddress(java.base@9-ea/AbstractPlainSocketImpl.java:243) at java.net.AbstractPlainSocketImpl.connect(java.base@9-ea/AbstractPlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(java.base@9-ea/SocksSocketImpl.java:402) at java.net.Socket.connect(java.base@9-ea/Socket.java:591) at java.net.Socket.connect(java.base@9-ea/Socket.java:540) at java.net.Socket.<init>(java.base@9-ea/Socket.java:436) at java.net.Socket.<init>(java.base@9-ea/Socket.java:213) at sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(java.rmi@9-ea/TCPDirectSocketFactory.java:40) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(java.rmi@9-ea/TCPEndpoint.java:613) ... 17 more RMID: shutdown() RMID: lookupSystem() returned null after 2ms. RMID: Destroying RMID process. RMID: Destroy successful after 3ms. RMID: Removing rmid's old log file. java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused at CheckRegisterInLog.main(CheckRegisterInLog.java:169) 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) JavaTest Message: Test threw exception: java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused ----------rerun:(30/3099)*---------- HOME=/opt/mach5/mach5-one \\ LANG=en_US.UTF-8 \\ LC_ALL=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ buildid=BUILD_ID \\ CLASSPATH=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/testlibrary:/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/testlibrary:/scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/javatest.jar:/scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/jtreg.jar \\ /scratch/jenkins/workspace/9-dev/jdk/bin/java \\ -Dtest.class.path.prefix=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/testlibrary \\ -Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog \\ -Dtest.src.path=/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/jdk/test/java/rmi/testlibrary \\ -Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog \\ -Dtest.class.path=/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/checkRegisterInLog:/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/classes/5/java/rmi/testlibrary \\ -Dtest.vm.opts='-ea -esa -Xmx512m' \\ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -Dtest.compiler.opts= \\ -Dtest.java.opts= \\ -Dtest.jdk=/scratch/jenkins/workspace/9-dev/jdk \\ -Dcompile.jdk=/scratch/jenkins/workspace/9-dev/jdk \\ -Dtest.timeout.factor=5.0 \\ -Dtest.modules='java.rmi/sun.rmi.registry java.rmi/sun.rmi.server java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp' \\ -Djava.security.policy==/scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/scratch/3/security.policy_new \\ -Djava.security.manager=default \\ -XaddExports:java.rmi/sun.rmi.registry=ALL-UNNAMED \\ -XaddExports:java.rmi/sun.rmi.server=ALL-UNNAMED \\ -XaddExports:java.rmi/sun.rmi.transport=ALL-UNNAMED \\ -XaddExports:java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \\ -ea \\ -esa \\ -Xmx512m \\ com.sun.javatest.regtest.agent.MainWrapper /scratch/jenkins/workspace/9-dev/testresults/linux-x64-open/tier3/JTwork/jdk_test/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.d/main.0.jta result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: CheckRegisterInLog got exception activation failed; nested exception is: java.rmi.ConnectException: Connection refused to host: 10.128.66.218; nested exception is: java.net.ConnectException: Connection refused

    JDK Bug System | 4 months ago | Frank Yuan
    java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(java.rmi@9-ea/TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(java.rmi@9-ea/TCPChannel.java:214) at sun.rmi.transport.tcp.TCPChannel.newConnection(java.rmi@9-ea/TCPChannel.java:200) at sun.rmi.server.UnicastRef.invoke(java.rmi@9-ea/UnicastRef.java:130) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(java.rmi@9-ea/RemoteObjectInvocationHandler.java:209) at java.rmi.server.RemoteObjectInvocationHandler.invoke(java.rmi@9-ea/RemoteObjectInvocationHandler.java:161)
  3. 0

    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)

    JDK Bug System | 3 months ago | Amy Lu
    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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This has been observed once in Linux X64 open only target. Please refer to the test output: ----------System.out:(23/1161)---------- server #0 started on port 60343 server #1 started on port 61867 server #2 started on port 64926 client #0 connects to port 60343 client #1 connects to port 61867 client #2 connects to port 64926 Current cacheSize is set to: 0 Currently cached Sessions...... ======================================================================== Session Session-last-accessTime ======================================================================== [Session-7, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 [Session-3, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 [Session-5, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 ------------------------------------------------------------------------ Session cache size changed to: 2 [Session-3, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 [Session-5, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] Tue Aug 30 22:11:27 PDT 2016 ------------------------------------------------------------------------ Session cache size changed to: 3 client #3 connects to port 0 ----------System.err:(48/3752)---------- Server died... java.net.SocketException: Address already in use (Listen failed) at java.net.PlainSocketImpl.socketListen(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.listen(java.base@9-internal/AbstractPlainSocketImpl.java:449) at java.net.ServerSocket.bind(java.base@9-internal/ServerSocket.java:377) at java.net.ServerSocket.<init>(java.base@9-internal/ServerSocket.java:238) at java.net.ServerSocket.<init>(java.base@9-internal/ServerSocket.java:182) at javax.net.ssl.SSLServerSocket.<init>(java.base@9-internal/SSLServerSocket.java:136) at sun.security.ssl.SSLServerSocketImpl.<init>(java.base@9-internal/SSLServerSocketImpl.java:116) at sun.security.ssl.SSLServerSocketFactoryImpl.createServerSocket(java.base@9-internal/SSLServerSocketFactoryImpl.java:79) at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:113) at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:446) 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:417) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:88) at SessionCacheSizeTests.doClientSide(SessionCacheSizeTests.java:226) at SessionCacheSizeTests.startClient(SessionCacheSizeTests.java:491) at SessionCacheSizeTests.<init>(SessionCacheSizeTests.java:368) at SessionCacheSizeTests.main(SessionCacheSizeTests.java:332) 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) Caused by: java.net.SocketException: Address already in use (Listen failed) at java.net.PlainSocketImpl.socketListen(java.base@9-internal/Native Method) at java.net.AbstractPlainSocketImpl.listen(java.base@9-internal/AbstractPlainSocketImpl.java:449) at java.net.ServerSocket.bind(java.base@9-internal/ServerSocket.java:377) at java.net.ServerSocket.<init>(java.base@9-internal/ServerSocket.java:238) at java.net.ServerSocket.<init>(java.base@9-internal/ServerSocket.java:182) at javax.net.ssl.SSLServerSocket.<init>(java.base@9-internal/SSLServerSocket.java:136) at sun.security.ssl.SSLServerSocketImpl.<init>(java.base@9-internal/SSLServerSocketImpl.java:116) at sun.security.ssl.SSLServerSocketFactoryImpl.createServerSocket(java.base@9-internal/SSLServerSocketFactoryImpl.java:79) at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:113) at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:446)

    JDK Bug System | 3 months ago | Felix Yang
    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:417) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(java.base@9-internal/SSLSocketFactoryImpl.java:88)
  6. 0

    MX4J / Mailing Lists

    sourceforge.net | 11 months ago
    java.net.ConnectException: Connection refused: connect] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133) at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ConnectException

      Connection refused at sun.rmi.server.ActivatableRef.activate(java.rmi@9-ea/ActivatableRef.java:298) at sun.rmi.server.ActivatableRef.invoke(java.rmi@9-ea/ActivatableRef.java:133)

      at CheckRegisterInLog_Stub.ping()
    2. Unknown
      CheckRegisterInLog.main
      1. CheckRegisterInLog_Stub.ping(CheckRegisterInLog_Stub.java:77)
      2. CheckRegisterInLog.main(CheckRegisterInLog.java:154)
      2 frames
    3. com.sun.javatest
      MainWrapper$MainThread.run
      1. com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      1 frame