PDA

View Full Version : JBoss InstanceNotFoundException


ehognestad
09-05-2011, 09:52
I am getting the following errors in the control panel:

javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: java.lang:type=Runtime is not registered.
Operating system
javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: java.lang:type=OperatingSystem is not registered.
Started at
javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: java.lang:type=Runtime is not registered.
Time spent processing
javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: java.lang:type=OperatingSystem is not registered.
Compiler
javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: java.lang:type=Compilation is not registered.
Accumulated compile time
javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: java.lang:type=Compilation is not registered.

I should say that I have a setup with multiple jboss instances in one server, each one with it's own IP.

Any suggestions on this problem?

klaus819
21-09-2011, 22:20
I am having the same issue with the monitors I set up. Can some one advise?

kjkoster
27-09-2011, 15:11
Guys,

What VM are you using? Sun/Oracle or IBM JVM? What Java version?

Kees Jan

klaus819
27-09-2011, 15:18
I am running the Sun 1.6.0_16 jdk. I think this is a configuration error. I need to enable JMX on the JBoss instances but I need instructions.
Thanks

kjkoster
27-09-2011, 15:37
Dear klaus819,

The problem is that JBoss is using its own MBean server, causing confusion over what is registered where. Please try this:


JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"


If that is not enough, add the following:


JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=9999"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"


Courtesy of http://labs.consol.de/lang/de/blog/jmx4perl/jboss-remote-jmx/

Kees Jan