You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Montenegro, Michael H (Michael)" <mh...@lucent.com> on 2003/08/28 00:48:48 UTC

tomcat admin context configuration problems

Machine specifics:
Sun e 420r
OS: Solaris 9
Tomcat version: 4.1.27

I am having problems accessing the admin console (http://localhost:8080/admin).  I have modified the tomcat-users.xml and can login when the login screen appears.  However, when I try to access anything on the page I get the following exception:
2003-08-27 14:19:01 StandardWrapper[/admin:invoker]: Loading container servlet i
nvoker
2003-08-27 14:19:32 action: Entered TreeControlTestAction:perform()
2003-08-27 14:19:32 action: tree param is null
2003-08-27 14:19:32 action: Select event on Globally Administer Data Sources
2003-08-27 14:19:32 StandardWrapperValve[action]: Servlet.service() for servlet
action threw exception
javax.servlet.UnavailableException: MBeanServer is not available
        at org.apache.webapp.admin.ApplicationServlet.initServer(ApplicationServ
let.java:206)
        at org.apache.webapp.admin.ApplicationServlet.getServer(ApplicationServl
et.java:138)
        at org.apache.webapp.admin.resources.ListDataSourcesAction.perform(ListD
ataSourcesAction.java:140)
        at org.apache.struts.action.Action.execute(Action.java:420)
        at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:484)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:274)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

I thought that the MbeanServer is loaded at startup.  I looked for info on this problem extensively but could not find anything.  I looked at the source and org.apache.webapp.admin.ApplicationServlet.java can not find a reference of the following object: org.apache.Catalina.mbeanserver .  I looked for this class in the catalina.jar and could not find one.
Thanks,
Michael