-
Bug
-
Resolution: Fixed
-
P1
-
9
-
b51
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084497 | emb-9 | Jaroslav BachorĂk | P1 | Resolved | Fixed | team |
JDK-8340489 | openjdk8u442 | Kazuhisa Takakuri | P1 | Resolved | Fixed | b01 |
Test eleven seems to be unable to connect to port 38112:
----------System.err:(89/5579)----------
[jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
[jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
[jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
[JMXStartStopDoSomething] Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 38112; nested exception is:
[JMXStartStopDoSomething] java.net.BindException: Address already in use
[jcmd] java.lang.RuntimeException: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 38112; nested exception is: java.net.BindException: Address already in use
Dec 04, 2014 12:21:14 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:14 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:17 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:17 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:25 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:25 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:34 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:34 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:42 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:42 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:50 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:50 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:58 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:58 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
test_11 failed
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at JMXStartStopTest.main(JMXStartStopTest.java:295)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
at JMXStartStopTest.testConnect(JMXStartStopTest.java:220)
at JMXStartStopTest.testConnect(JMXStartStopTest.java:190)
at JMXStartStopTest.test_11(JMXStartStopTest.java:813)
... 11 more
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:122)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205)
at javax.naming.InitialContext.lookup(InitialContext.java:409)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1957)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1924)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)
... 15 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:302)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)
... 20 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:244)
... 24 more
java.lang.Error
at JMXStartStopTest.main(JMXStartStopTest.java:310)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.Error
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Error
----------System.err:(89/5579)----------
[jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
[jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
[jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
[JMXStartStopDoSomething] Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 38112; nested exception is:
[JMXStartStopDoSomething] java.net.BindException: Address already in use
[jcmd] java.lang.RuntimeException: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 38112; nested exception is: java.net.BindException: Address already in use
Dec 04, 2014 12:21:14 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:14 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:17 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:17 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:25 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:25 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:34 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:34 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:42 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:42 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:50 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:50 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
Dec 04, 2014 12:21:58 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Dec 04, 2014 12:21:58 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
test_11 failed
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at JMXStartStopTest.main(JMXStartStopTest.java:295)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
at JMXStartStopTest.testConnect(JMXStartStopTest.java:220)
at JMXStartStopTest.testConnect(JMXStartStopTest.java:190)
at JMXStartStopTest.test_11(JMXStartStopTest.java:813)
... 11 more
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:122)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205)
at javax.naming.InitialContext.lookup(InitialContext.java:409)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1957)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1924)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)
... 15 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:302)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)
... 20 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:244)
... 24 more
java.lang.Error
at JMXStartStopTest.main(JMXStartStopTest.java:310)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.Error
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Error
- backported by
-
JDK-8084497 JMXStartStopTest fails to connect to port 38112
-
- Resolved
-
-
JDK-8340489 JMXStartStopTest fails to connect to port 38112
-
- Resolved
-
- relates to
-
JDK-8065762 sun/management/jmxremote/startstop/JMXStartStopTest.java fails with java.lang.Exception: Starting agent on port ... should report port in use
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk8u-dev/ec2bb45e
-
Review(master) openjdk/jdk8u-dev/430