请教:使用JRockit JVM能检测Webspere运行状态吗?急,在线等。
想使用JRockit检测Linux下Websphere6.1.0.0的应用状态,但是总是连接不上。有大大能帮忙分析下么。
报错如下:
无法为 192.168.20.177:9080 打开 内存泄漏检测器。
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.net.SocketTimeoutException: Read timed out]
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.net.SocketTimeoutException: Read timed out]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:229)
at com.jrockit.console.rjmx.RJMXConnection.setupServer(RJMXConnection.java:498)
at com.jrockit.console.rjmx.RJMXConnection.<init>(RJMXConnection.java:137)
at com.jrockit.console.rjmx.RJMXConnectorModel.getOrCreateConnection(RJMXConnectorModel.java:608)
at com.jrockit.console.rjmx.RJMXConnectorModel.<init>(RJMXConnectorModel.java:113)
at com.jrockit.mc.memleak.ui.RjmxMemleakEditorInput.connect(Unknown Source)
at com.jrockit.mc.memleak.ui.actions.StartMemleak$1.preConnect(Unknown Source)
at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:73)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1817)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1787)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:259)
... 9 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93)
... 14 more
Caused by: java.net.SocketTimeoutException: Read timed out
at jrockit.net.SocketNativeIO.readBytesPinned(Native Method)
at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:46)
at java.net.SocketInputStream.socketRead0(SocketInputStream.java)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:236)
at java.io.DataInputStream.readByte(DataInputStream.java:242)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:93)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1817)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1787)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:259)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:230)
at com.jrockit.console.rjmx.RJMXConnection.setupServer(RJMXConnection.java:499)
at com.jrockit.console.rjmx.RJMXConnection.<init>(RJMXConnection.java:138)
... 6 more
--------------------编程问答--------------------
补充:企业软件 , WebSphere