aspose file tools*
The moose likes Performance and the fly likes JCONSOLE : how to run for remote tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "JCONSOLE : how to run for remote tomcat" Watch "JCONSOLE : how to run for remote tomcat" New topic
Author

JCONSOLE : how to run for remote tomcat

Aruneesh Salhotra
Ranch Hand

Joined: May 12, 2004
Posts: 167
I am running tomcat, on a remote machine, but I can't seem to connect to the remote tomcat.
It works fine for local java program, but doesnt work either for tomcat on local machine or remote machine.

For local tomcat, I set set CATALINA_OPTS=%CATALINA_OPTS% -Dsun.io.useCanonCaches=false -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9007
bin/catalina.bat and then I used jconsole to connect to localhost, 9007
Viresh Jain
Greenhorn

Joined: Jun 14, 2005
Posts: 3
i have the same problem. please let me know if sopmeone has any solution for this.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
I used jconsole to connect to localhost, 9007

Bingo - the remote machine is NOT localhost. Only your local program is running on localhost. Use the network IP address of the Tomcat server machine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JCONSOLE : how to run for remote tomcat