tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garthfield Carter <tom...@webconexion.net>
Subject Re: Tomcat admin application "HTTP Status 500" problem
Date Fri, 08 Sep 2006 15:36:38 GMT
When I click on "User Definition" -> "Users" I get the following output 
in catalina.out:

2006-09-08 16:30:02 StandardContext[/admin]action: Error retrieving 
attribute users
javax.management.InstanceNotFoundException: 
Users:type=UserDatabase,database=UserDatabase
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:627)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:659)
        at 
org.apache.webapp.admin.users.UserUtils.getUsersForm(UserUtils.java:112)
        at 
org.apache.webapp.admin.users.ListUsersAction.perform(ListUsersAction.java:113)
        at org.apache.struts.action.Action.execute(Action.java:420)
        at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        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:237)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
        at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
        at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
        at 
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:595)

And the right frame of the Admin application has an error 500 which I'll 
paste below:

-------------------------------------------------------------------------------------------------------------------------------------------------------
HTTP Status 500 - Error retrieving attribute users
type Status report
message Error retrieving attribute users
description The server encountered an internal error (Error retrieving 
attribute users) that prevented it from fulfilling this request.
Apache Tomcat/5.0.28
-------------------------------------------------------------------------------------------------------------------------------------------------------

Garthfield

David Delbecq wrote:

>Please provide exception messages, they should be in catalina.out
>Garthfield Carter a écrit :
>  
>
>>Hello,
>>
>>I have an issue with the Tomcat "admin" application. I get "HTTP
>>Status 500" errors whenever I click on any of the "User Definition"
>>menu items such as Users, Groups or Roles. The exact error I get
>>reported on screen in the HTTP Status 500 section is:
>>
>>---------------------------------------------------------------------------------------------------------------------------------------
>>
>>type: Status report
>>message: Error retrieving attribute users
>>description: The server encountered an internal error (Error
>>retrieving attribute users) that prevented it from fulfilling this
>>request.
>>---------------------------------------------------------------------------------------------------------------------------------------
>>
>>
>>I'm using the following software version:
>>
>>Tomcat 5.0.28
>>Sun JDK 1.5.0_06
>>
>>My server.xml looks like this:
>>
>><?xml version='1.0' encoding='utf-8'?>
>><Server port="8121">
>>
>><GlobalNamingResources>
>>      <Resource auth="Container" name="UserDatabase"
>>type="org.apache.catalina.UserDatabase"/>
>>      <ResourceParams name="UserDatabase">
>>      <parameter>
>>              <name>factory</name>
>>             
>><value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
>>      </parameter>
>>      <parameter>
>>              <name>pathname</name>
>>              <value>conf/tomcat-users.xml</value>
>>      </parameter>
>>      </ResourceParams>
>></GlobalNamingResources>
>>
>><Service name="Tomcat-Apache">
>><Connector maxProcessors="75" port="8221" protocol="AJP/1.3"
>>protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>><Engine defaultHost="localhost" name="alberta">
>><Host appBase="/home/tomcat/tomcat/webapps" deployOnStartup="false"
>>name="localhost">
>>      <Logger className="org.apache.catalina.logger.FileLogger"
>>directory="/home/tomcat/logs" prefix="tomcat." suffix=".txt"
>>timestamp="true"/>
>>      <Context path="/" docBase="../../public_html" debug="0"
>>reloadable="true"/>
>>      <Context path="/admin" debug="0" privileged="true"
>>docBase="admin"/>
>></Host>
>><Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
>></Engine>
>></Service>
>></Server>
>>
>>I've searched Google and found one other person with this problem but
>>no answers at all.
>>
>>Any ideas would be greatly appreciated.
>>
>>Regards,
>>Garthfield Carter
>>
>>
>>---------------------------------------------------------------------
>>To start a new topic, e-mail: users@tomcat.apache.org
>>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>  
>

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


Mime
View raw message