-
Bug
-
Resolution: Unresolved
-
P4
-
10, 11.0.8.0.1-oracle, 12, 14, 15, 16, 17, 19, 20, 21, 23
The following test failed in the JDK10 nightly:
javax/management/remote/mandatory/connection/BrokenConnectionTest.java
This is moved from the original sighting reported inJDK-8079445:
Jesper Wilhelmsson added a comment - 2017-08-16 11:42
This happened in the HS nightly, could be the same issue?
Test 4: removeNotificationListener(NL), break, removeNotificationListener(NL)
Created and started connector server
Client connected OK
Client ran removeNotificationListener(NL) OK
Filter: javax.management.remote.JMXConnectionNotification[source=javax.management.remote.rmi.RMIConnector$RMIClientCommunicatorAdmin@61102150][type=jmx.remote.connection.failed][message=Failed to communicate with the server: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException] (jmx.remote.connection.failed)
Filter: javax.management.remote.JMXConnectionNotification[source=javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi://...snip...][type=jmx.remote.connection.closed][message=Client has been closed] (jmx.remote.connection.closed)
Broke connection, run removeNotificationListener(NL) again
FAILED WITH EXCEPTION:
javax.management.ListenerNotFoundException: Listener not found
at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder.getListenerId(ClientNotifForwarder.java:232)
at java.management.rmi/javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.removeNotificationListener(RMIConnector.java:1303)
at BrokenConnectionTest$4.operation(BrokenConnectionTest.java:182)
at BrokenConnectionTest$Operation.test(BrokenConnectionTest.java:125)
at BrokenConnectionTest.test(BrokenConnectionTest.java:480)
at BrokenConnectionTest.rmiTest(BrokenConnectionTest.java:539)
at BrokenConnectionTest.test(BrokenConnectionTest.java:92)
at BrokenConnectionTest.main(BrokenConnectionTest.java:71)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
javax/management/remote/mandatory/connection/BrokenConnectionTest.java
This is moved from the original sighting reported in
Jesper Wilhelmsson added a comment - 2017-08-16 11:42
This happened in the HS nightly, could be the same issue?
Test 4: removeNotificationListener(NL), break, removeNotificationListener(NL)
Created and started connector server
Client connected OK
Client ran removeNotificationListener(NL) OK
Filter: javax.management.remote.JMXConnectionNotification[source=javax.management.remote.rmi.RMIConnector$RMIClientCommunicatorAdmin@61102150][type=jmx.remote.connection.failed][message=Failed to communicate with the server: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException] (jmx.remote.connection.failed)
Filter: javax.management.remote.JMXConnectionNotification[source=javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi://...snip...][type=jmx.remote.connection.closed][message=Client has been closed] (jmx.remote.connection.closed)
Broke connection, run removeNotificationListener(NL) again
FAILED WITH EXCEPTION:
javax.management.ListenerNotFoundException: Listener not found
at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder.getListenerId(ClientNotifForwarder.java:232)
at java.management.rmi/javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.removeNotificationListener(RMIConnector.java:1303)
at BrokenConnectionTest$4.operation(BrokenConnectionTest.java:182)
at BrokenConnectionTest$Operation.test(BrokenConnectionTest.java:125)
at BrokenConnectionTest.test(BrokenConnectionTest.java:480)
at BrokenConnectionTest.rmiTest(BrokenConnectionTest.java:539)
at BrokenConnectionTest.test(BrokenConnectionTest.java:92)
at BrokenConnectionTest.main(BrokenConnectionTest.java:71)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
- relates to
-
JDK-8079445 javax/management/remote/mandatory/connection/BrokenConnectionTest.java fails intermittently
- Closed