Hi,

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
        
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
        
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
        
admin.resources.listEnvEntries_jsp._jspService(listEnvEntries_jsp.java:463)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        ....

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: [EMAIL PROTECTED]
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(AttributeTag.java:164)
        at 
admin.resources.listEnvEntries_jsp._jspx_meth_controls_005fattribute_005f0(listEnvEntries_jsp.java:828)
        at 
admin.resources.listEnvEntries_jsp._jspService(listEnvEntries_jsp.java:396)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
        at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
       ....

Any help would be highly appreciated. Thanks in advance.
--Juerg

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to