2 Replies Latest reply on Jul 9, 2009 11:44 AM by smarlow

    Question about issue

    smarlow

      JOPR currently expects to use the Sun jmxremote support with AS 5.x, however, that doesn't seem to work when the following options are added to run.conf:


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


      There seems to be at least two issues at play here:

      1. The org.jboss.system.server.jmx.MBeanServerBuilderImpl class is not on the system classpath, so the Sun jdk classes cannot reference it.

      2. Even if MBeanServerBuilderImpl became accessible via the system classpath, it seems that we need a different kind of bridge between the Sun JDK mbeanserver and the MC hosted mbean server.

      Do we need a new MBeanServerBuilderImpl and LazyMBeanServer implementation that can provide a bridge between the MC and the Sun jdk jmx code?

      Ideas?