4 Replies Latest reply on Nov 6, 2008 7:18 AM by senthil kumar

    MBean issue

    senthil kumar Newbie

       



      Hi,

      We have deployed the JBoss 4.2.3 with JBoss-messaging-1.4 in production environment.

      if we are accessing to MBean to get the details of active receivers and rate of consuming messages, we are getting following exceptions.

      If we are getting below exception, MBean is not working.

      Please any body have the idea to resolve this.


      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      javax.management.RuntimeMBeanException
       org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
       org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
       org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:258)
       org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:223)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:278)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      
      root cause
      
      java.lang.NullPointerException
       org.jboss.jms.server.ServerPeer.showActiveClientsAsHTML(ServerPeer.java:1091)
       sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:597)
       org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:258)
       org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:223)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:278)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      
      note The full stack trace of the root cause is available in the JBossWeb/2.0.1.GA logs.