Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Not able to use remote JConsole or VisualVM sessions when ODL is running on Linux [closed]

asked 2014-11-13 23:16:43 -0700

screwgoth gravatar image

updated 2014-11-13 23:20:31 -0700

I am facing a strange problem. When I run ODL on a Linux box (Ubuntu 12.04) and try to connect a remote session of wither jconsole or visualvm, I don't get connected. However, if I run ODL on a Mac, both local as well as remote session of jconsole or visvualvm work correctly.

I'm running ODL in all cases as :

./ -jmx -start

And I'm ensuring that for both jconsole as well as visualvm I'm specifying the JMX port as 1088.

Additionally, I've checked that there are no iptable rules or any firewall service like ufw running on the Linux boxes. In fact, I could telnet on the Linux box on port 1088.

Any ideas, what I maybe doing wrong here ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by screwgoth
close date 2014-11-14 04:58:05


Warning : Next step is to try Performance monitoring with Jmeter

screwgoth ( 2014-11-13 23:21:03 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-14 04:57:39 -0700

screwgoth gravatar image

I got a fix/workaround folks : Add "-Djava.rmi.server.hostname=<ip or hostname>" to the starting arguments. So:

./ -jmx -start -Djava.rmi.server.hostname=<ip or hostname of Linux Box> fixes the issue.

Should I send a patch for this inside the script ?

edit flag offensive delete publish link more

Question Tools

1 follower


Asked: 2014-11-13 23:16:43 -0700

Seen: 951 times

Last updated: Nov 14 '14