0 Replies Latest reply on May 8, 2005 5:22 AM by jun.song

    Can not go into JMX-console.

    jun.song

      I meet a problem about JMX-console. Can you give me a head? Thanks.

      Problem:
      When I go into JMX-console of JBoss4.0.0 with URL http://localhost:8080/jmx-console.I get a error about NullPointerExcetion as following:
      ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[HtmlAdaptor]: Servlet.service() for servlet HtmlAdaptor threw exception
      RuntimeOperationsException: null Cause: java.lang.NullPointerException
      at org.jboss.mx.server.ExceptionHandler.handleRuntimeExceptionOrError(ExceptionHandler.java:93)
      at org.jboss.mx.server.ExceptionHandler.handleException(ExceptionHandler.java:34)
      at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:659)
      at org.jboss.jmx.adaptor.control.Server.getDomainData(Server.java:57)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.displayMBeans(HtmlAdaptorServlet.java:160)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:73)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:56)

      I found that it caused by my service. (I has a service and I use a MBean to wrap my service).If I didn't start my service with the MBean at Jboss running. I can go into JMX-console normally. But, I will get the error information after I start my service when Jboss starting or start my service in Jmx-console.And I also can go into jmx-console of Jboss 3.2.6 normally with all same configuration.
      It's afflictive. Anyone can help me to give me a answer or cue. Thanks!