4 Replies Latest reply on Oct 29, 2008 3:42 AM by hammer2050

    MBeanServerLocator.locateJBoss() throws IllegalStateExceptio

    plchung

      Dear all,

      I just wrote a very very simple few line JSP, and then try to test retrieving a reference to the JBoss MBeanServer. I found that everytime I call


      MBeanServerLocator.locateJBoss()

      It immediately throws an IllegalStateException: No 'jboss' MBeanServer found!

      Then I try putting my little JSP to the jmx-console.war, it works perfectly in the jboss bundled jmx-console.war. Are there anything I have missed? or I have to configure anything in order to access the MBeanServer reference??

      I have already stucked in this problem for a week searching the web for solutions. Seems no one encounter the same problem as mine :(

      Thank you very much.

      Paul