Help needed with Tomcat 5.5.7 admin app (MBeanServer is not available)
Simon, I had the same problem. Then I discovered that the admin app had to be installed under ${Catalina.home}/server/webapps rather than just ${Catalina.home}/webapps. Once I moved the directory to where the Context docBase said it was supposed to be, it started working. Fritz _ From: Simon Watson [EMAIL PROTECTED] Subject: Help needed with Tomcat 5.5.7 admin app (MBeanServer is not available) Date: Sun, 06 Feb 2005 16:18:49 GMT _ Hi there, I've just installed Tomcat 5.5.7 (using the .exe installer on WinXP) and, whilst the server and manager app work fine, I'm having problems with the optional admin webapp. I downloaded the admin zip file and extracted the files to the appropriate locations. The admin app starts ok and I can log in, but when I click on Environmental Entries (or try to add a datasource), I get a 500 response with the message MBeanServer is not available (stack trace from stdout log below).
Help needed with Tomcat 5.5.7 admin app (MBeanServer is not available)
Hi there, I've just installed Tomcat 5.5.7 (using the .exe installer on WinXP) and, whilst the server and manager app work fine, I'm having problems with the optional admin webapp. I downloaded the admin zip file and extracted the files to the appropriate locations. The admin app starts ok and I can log in, but when I click on Environmental Entries (or try to add a datasource), I get a 500 response with the message MBeanServer is not available (stack trace from stdout log below). My server.xml file includes: !-- Comment these entries out to disable JMX MBeans support used for the administration web application -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / Has anyone got any ideas? I'm new to Tomcat so I could be missing something obvious but I've run out of ideas. Any help would be much appreciated. Cheers, Simon. SEVERE: Servlet.service() for servlet action threw exception javax.servlet.jsp.JspException: MBeanServer is not available at org.apache.webapp.admin.AttributeTag.doEndTag(AttributeTag.java:163) at admin.resources.listEnvEntries_jsp._jspx_meth_controls_attribute_0(listEnvEntries_jsp.java:766) at admin.resources.listEnvEntries_jsp._jspService(listEnvEntries_jsp.java:380) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:464) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:464) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.webapp.admin.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at