jconsole Fehler während jrmp Verbindungsaufbau nested exception is : java.io.EOFException
Ich versuche überwachen Sie einen remote-Prozess unter Verwendung von jconsole und das war der Befehl, den ich verwendet
jconsole -debug localhost:4080
- Und dies ist die Stapelüberwachung, die ich bekommen
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at sun.tools.jconsole.ProxyClient.checkSslConfig(ProxyClient.java:217)
at sun.tools.jconsole.ProxyClient.<init>(ProxyClient.java:110)
at sun.tools.jconsole.ProxyClient.getProxyClient(ProxyClient.java:463)
at sun.tools.jconsole.JConsole$3.run(JConsole.java:510)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:250)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
Ist es in der Lage zu befestigen erfolgreich, wenn ich liefern die pid des Prozesses zu jconsole.
Du musst angemeldet sein, um einen Kommentar abzugeben.
Wir haben Sie zur Konfiguration von tomcat zu erlauben, eine remote-Prozess zu verbinden, um es zu überwachen
Im wesentlichen Hinzugefügt,
Dieser sagen würde, tomcat, es würde überwacht von (sagen wir) jconsole über port 7091 aus der Ferne.
Dann begann jconsole mit
Nun jconsole Verbindung erfolgreich ist.