As described in:

http://jbossws.jboss.org/mediawiki/index.php?title=FAQ#How_to_use_JDK_JMX_JConsole_with_JBossWS.3F

If I change run.conf to:

JAVA_OPTS="$JAVA_OPTS 
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=11099"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"


I get the following exception when deploying a sar file that has a couple of 
Schedulable classes:

Caused by: java.lang.NullPointerException
        at 
EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.hash(ConcurrentReaderHashMap.java:298)
        at 
EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.get(ConcurrentReaderHashMap.java:410)
        at 
org.jboss.mx.server.registry.BasicMBeanRegistry.getMBeanMap(BasicMBeanRegistry.java:959)
        at 
org.jboss.mx.server.registry.BasicMBeanRegistry.contains(BasicMBeanRegistry.java:577)
        at 
org.jboss.mx.server.MBeanServerImpl.isRegistered(MBeanServerImpl.java:539)
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:101)
        at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
        at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
        ... 80 more


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178634#4178634

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178634
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to