tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juerg Meier <>
Subject MBeanServer is not available
Date Sun, 03 Feb 2008 20:18:13 GMT

I installed the tomcat web administration tool/application on a tomcat 5.5.23 instance. Should
not be a big deal, and the app runs fine, but all functions relying on JMX do not seem to
work. E.g. when I press the "Environment Entries" link, the following exception appears:

javax.servlet.ServletException: MBeanServer is not available

That's strange, because in server.xml, the respective MBean support is switched on (by default):

  <!-- Comment these entries out to disable JMX MBeans support used for the
       administration web application -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener"/>
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>

Here's an extended dump with log4j's level set to debug. It also does not really provide any
information on what the problem is, unfortunately. But perhaps somebody can make sense of
the "ClassNotFoundException":

DEBUG -   Loading class from local repository
DEBUG - loadClass(javax.servlet.jsp.SkipPageException, false)
DEBUG -   Searching local repositories
DEBUG -     findClass(javax.servlet.jsp.SkipPageException)
DEBUG -       findClassInternal(javax.servlet.jsp.SkipPageException)
DEBUG -     --> Passing on ClassNotFoundException
DEBUG -   Delegating to parent classloader at end: org.apache.catalina.loader.StandardClassLoader@131303f
DEBUG -   Loading class from parent
ERROR - Servlet.service() for servlet admin.resources.listEnvEntries_jsp threw exception
javax.servlet.jsp.JspException: MBeanServer is not available
        at org.apache.webapp.admin.AttributeTag.doEndTag(
        at admin.resources.listEnvEntries_jsp._jspx_meth_controls_005fattribute_005f0(
        at admin.resources.listEnvEntries_jsp._jspService(
        at org.apache.jasper.runtime.HttpJspBase.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.ApplicationDispatcher.invoke(
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(

Any help would be highly appreciated. Thanks in advance.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message