JMX connector error

If you’re running ONOS, you might have seen the following error:

Exception in thread "JMX Connector Thread 
[service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]" 
java.lang.RuntimeException: Could not start JMX connector server

I got this issue once, and I solved by replacing ‘0.0.0.0‘ with a meaningful IP address, such as ‘127.0.0.1‘. All I had to do, was to edit the file  ‘org.apache.karaf.management.cfg ‘

$ cd apache-karaf-3.0.3/etc
$ vim org.apache.karaf.management.cfg

That’s all,

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s