Up vote 0 down vote favorite share g+ share fb share tw.
I'd be very pleased getting help from yours so many thanks in advance. Can't manage to connect to a WAS server using VisualVM. WAS properties setup: Servers->Server types->WebSphere application servers->server1->Process definition->Java Virtual Machine -> Properties JVM -Djavax.management.builder.
Initial= -Dcom.sun.management. Jmxremote -Dcom.sun.management.jmxremote. Authenticate=false -Dcom.sun.management.jmxremote.
Ssl=false -Dcom.sun.management.jmxremote. Port=9999 WAS console output: INFO com.sun.tools.visualvm.jmx.impl. JmxModelImpl: connect(service:jmx:rmi:///jndi/rmi://:9999/jmxrmi) java.io.
EOFException: SSL peer shut down incorrectly at com.sun.net.ssl.internal.ssl.InputRecord. Read(InputRecord. Java:333) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.
ReadRecord(SSLSocketImpl. Java:798) Caused: javax.net.ssl. SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.
ReadRecord(SSLSocketImpl. Java:817) at com.sun.net.ssl.internal.ssl.SSLSocketImpl. PerformInitialHandshake(SSLSocketImpl.
Java:1138) at com.sun.net.ssl.internal.ssl.SSLSocketImpl. WriteRecord(SSLSocketImpl. Java:632) at com.sun.net.ssl.internal.ssl.AppOutputStream.
Write(AppOutputStream. Java:59) at java.io. BufferedOutputStream.
FlushBuffer(BufferedOutputStream. Java:65) at java.io. BufferedOutputStream.
Flush(BufferedOutputStream. Java:123) at java.io. DataOutputStream.
Flush(DataOutputStream. Java:106) at sun.rmi.transport.tcp.TCPChannel. CreateConnection(TCPChannel.
Java:211) Caused: java.rmi. ConnectIOException: error during JRMP connection establishment; nested exception is: javax.net.ssl. SSLHandshakeException: Remote host closed connection during handshake 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 com.sun.jndi.rmi.registry.RegistryContext. Lookup(RegistryContext.
Java:97) Caused: javax.naming. CommunicationException Root exception is java.rmi. ConnectIOException: error during JRMP connection establishment; nested exception is: javax.net.ssl.
SSLHandshakeException: Remote host closed connection during handshake at com.sun.jndi.rmi.registry.RegistryContext. Lookup(RegistryContext. Java:101) at com.sun.jndi.toolkit.url.
GenericURLContext. Lookup(GenericURLContext. Java:185) at javax.naming.InitialContext.
Lookup(InitialContext. Java:392) at javax.management.remote.rmi.RMIConnector. FindRMIServerJNDI(RMIConnector.
Java:1886) at javax.management.remote.rmi.RMIConnector. FindRMIServer(RMIConnector. Java:1856) at javax.management.remote.rmi.RMIConnector.
Connect(RMIConnector. Java:257) Caused: java.io. IOException: Failed to retrieve RMIServer stub at javax.management.remote.rmi.RMIConnector.
Connect(RMIConnector. Java:338) at com.sun.tools.visualvm.jmx.impl. JmxModelImpl$ProxyClient.
TryConnect(JmxModelImpl. Java:496) at com.sun.tools.visualvm.jmx.impl. JmxModelImpl$ProxyClient.
Connect(JmxModelImpl. Java:440) at com.sun.tools.visualvm.jmx.impl.JmxModelImpl. Connect(JmxModelImpl.
Java:220) at com.sun.tools.visualvm.jmx.impl.JmxModelImpl.(JmxModelImpl. Java:209) at com.sun.tools.visualvm.jmx.impl. JmxModelProvider.
CreateModelFor(JmxModelProvider. Java:61) at com.sun.tools.visualvm.jmx.impl. JmxModelProvider.
CreateModelFor(JmxModelProvider. Java:42) at com.sun.tools.visualvm.core.model.ModelFactory. GetModel(ModelFactory.
Java:111) at com.sun.tools.visualvm.tools.jmx.JmxModelFactory. GetJmxModelFor(JmxModelFactory. Java:69) at com.sun.tools.visualvm.jmx.impl.
JmxApplicationProvider. AddJmxApplication(JmxApplicationProvider. Java:267) at com.sun.tools.visualvm.jmx.impl.
JmxApplicationProvider. CreateJmxApplication(JmxApplicationProvider. Java:185) at com.sun.tools.visualvm.jmx.
JmxApplicationsSupport. CreateJmxApplicationImpl(JmxApplicationsSupport. Java:286) at com.sun.tools.visualvm.jmx.
JmxApplicationsSupport. CreateJmxApplicationInteractive(JmxApplicationsSupport. Java:263) catch at com.sun.tools.visualvm.jmx.impl.
AddJMXConnectionAction$1. Run(AddJMXConnectionAction. Java:80) at org.openide.util.
RequestProcessor$Task. Run(RequestProcessor. Java:1418) at org.openide.util.
RequestProcessor$Processor. Run(RequestProcessor. Java:1957) Thank you a lot again.
Regards. Websphere link|improve this question edited Dec 21 '11 at 20:15bkail7,787917 asked May 5 '11 at 7:36Robert1.
Good morning. Well,we've discovered the solution,kinda easy indeed. The propertie -Djava.rmi.server.
Hostname=hostname was pointing to localhost instead of ip. I Hope this info be usefull to someone more. Thank you very much.
Regards.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.