JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
June 03, 2023, 04:22:51 PM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
Home Help Search Login Register
Pages: [1]   Go Down

Author Topic: How to connect to remote JPPF server through JMX  (Read 2705 times)

kilik

  • JPPF Knight
  • **
  • Posts: 16
How to connect to remote JPPF server through JMX
« 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.
« Last Edit: June 12, 2012, 12:34:44 PM by kilik »
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: How to connect to remote JPPF server through JMX
« Reply #1 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
Logged

kilik

  • JPPF Knight
  • **
  • Posts: 16
Re: How to connect to remote JPPF server through JMX
« Reply #2 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.
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: How to connect to remote JPPF server through JMX
« Reply #3 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
Logged
Pages: [1]   Go Up
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads