JPPF Forums

JPPF Help => Installation and Configuration => Topic started by: kilik on June 12, 2012, 11:31:39 AM

Title: How to connect to remote JPPF server through JMX
Post by: kilik on June 12, 2012, 11:31:39 AM
Recently, I'm trying JMX features of JPPF. But I cannot use JConsole or VisualVM to connect to remote JPPF server through JMX. The JMX URL I used is "service:jmx:rmi://server_address:11198. My OS is Ubuntu 12.04. The default configuration of JPPF server is used.
Title: Re: How to connect to remote JPPF server through JMX
Post by: lolo on June 13, 2012, 07:31:56 AM
Hello,

I was able to do this some time ago with VisualVM, but I used the JMXMP connector (used by JPPF) instead of the RMI one:
1. I had to put the JMXMP library "jmxremote_optional.jar" in "VISUALVM_HOME/platform/lib" (you can add any other library you need)
2. I used the JMX URL "service:jmx:jmxmp://server_address:server_port"

Can you try that and let us know if it works for you?

-Laurent
Title: Re: How to connect to remote JPPF server through JMX
Post by: kilik on June 13, 2012, 09:46:05 AM
Hi Laurent,

Thanks for your instructions. It works for me. BTW, I recommend that you modify user guide section 6.2 "Server management" since it says "using an RMI remote connector " instead of jmxmp.
Title: Re: How to connect to remote JPPF server through JMX
Post by: lolo on June 13, 2012, 02:10:37 PM
Hi,

Quote
modify user guide section 6.2 "Server management" since it says "using an RMI remote connector " instead of jmxmp.

Indeed, thanks for catching that!

-Laurent