0 Replies Latest reply on Jan 31, 2012 5:21 AM by Srinivasa Rao Ammina

    Accessing jmx-console causing issues

    Srinivasa Rao Ammina Newbie

      Hi,

       

      We are running two different web applications in two different instances in jboss-4.0.3 server. If we try to access the jmx-console of one instance running in one port it is opening correctly without and issues.

      But we are facing some issues with the other instance jmx-console running on different port.

       

      Please find the issue that we are facing during accessing one of the instance of the jmx-console.

       

       

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: Wrapper cannot find servlet class org.jboss.jmx.adaptor.html.HtmlAdaptorServlet or a class it depends on
           org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:693)
           org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:660)
           org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:44)
           org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

      root cause

      java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.html.HtmlAdaptorServlet
           org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
           org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
           org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:693)
           org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:660)
           org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:44)
           org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

      note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.

       

      Could you please let us know how to fix this issue.