-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b57
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084607 | emb-9 | Jaroslav BachorĂk | P3 | Resolved | Fixed | team |
Test #6 in JMXStartStopTest.java fails:
**** Test six ****
Command line: [C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\java.exe -cp C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\sun\\management\\jmxremote\\startstop;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\lib\\testlibrary JMXStartStopDoSomething ]
[JMXStartStopDoSomething{test_06}]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\java.exe -cp C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\sun\\management\\jmxremote\\startstop;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\lib\\testlibrary JMXStartStopDoSomething
[JMXStartStopDoSomething{test_06}] main enter
[jcmd]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\jcmd.exe JMXStartStopDoSomething ManagementAgent.start jmxremote.port=50818 jmxremote.authenticate=false jmxremote.ssl=false
[jcmd]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\jcmd.exe JMXStartStopDoSomething ManagementAgent.start jmxremote.port=50818 jmxremote.authenticate=false jmxremote.ssl=false
[JMXStartStopDoSomething{test_06}] read: 0
[JMXStartStopDoSomething{test_06}] main exit
[jcmd] 29568:
(took 3744ms)
test_06 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:291)
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.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.list(Unknown Source)
at JMXStartStopTest.testConnect(JMXStartStopTest.java:197)
at JMXStartStopTest.test_06(JMXStartStopTest.java:615)
... 11 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:244)
... 16 more
java.lang.Error
at JMXStartStopTest.main(JMXStartStopTest.java:317)
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)
Similar issues seems to have been seen in the past.
**** Test six ****
Command line: [C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\java.exe -cp C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\sun\\management\\jmxremote\\startstop;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\lib\\testlibrary JMXStartStopDoSomething ]
[JMXStartStopDoSomething{test_06}]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\java.exe -cp C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\sun\\management\\jmxremote\\startstop;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\lib\\testlibrary JMXStartStopDoSomething
[JMXStartStopDoSomething{test_06}] main enter
[jcmd]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\jcmd.exe JMXStartStopDoSomething ManagementAgent.start jmxremote.port=50818 jmxremote.authenticate=false jmxremote.ssl=false
[jcmd]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\jcmd.exe JMXStartStopDoSomething ManagementAgent.start jmxremote.port=50818 jmxremote.authenticate=false jmxremote.ssl=false
[JMXStartStopDoSomething{test_06}] read: 0
[JMXStartStopDoSomething{test_06}] main exit
[jcmd] 29568:
(took 3744ms)
test_06 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:291)
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.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.list(Unknown Source)
at JMXStartStopTest.testConnect(JMXStartStopTest.java:197)
at JMXStartStopTest.test_06(JMXStartStopTest.java:615)
... 11 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:244)
... 16 more
java.lang.Error
at JMXStartStopTest.main(JMXStartStopTest.java:317)
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)
Similar issues seems to have been seen in the past.
- backported by
-
JDK-8084607 sun/management/jmxremote/startstop/JMXStartStopTest.java fails with InvocationTargetException
- Resolved
- relates to
-
JDK-8034177 sun/management/jmxremote/startstop/JMXStartStopTest.java should report port in use
- Resolved
-
JDK-8038826 sun/management/jmxremote/startstop/JMXStartStopTest.java fails with "should report port in use"
- Resolved