Connection failed when using jconsole
Hi there,
I am quite new in java. Recently i found that jconsole can manage & monitor the system resource during the run of java application.
My question here is I kept getting the error "Connection failed" when I tried to remote monitor my application resource usage by using jmx client - jconsole to connect to my development server - jmx agent
Over jmx agent: I have started my tomcat4 with the system property which I refer to some sites
-Dcom.sun.management.jmxremote.port=port# \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false
remarks: \ represent continue in the same line
as the tomcat is running as a win32 service
Over jmx client (my desktop): I use jconsole.exe to try to connect to the agent with the specified port#
Secondly, can anyone tell me what jvm is currently used by my tomcat? And how can I display the list of java system properties running currently?
Thanks

