Ignacio,

This is what I have in app-admin.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<webapps>
    <!-- Special rules for the admin webapplication -->

    <!-- Change "trusted" to true in order to run the admin -->
    <!-- Removed SimpleRealm for testing with JBDCRealm
            <SimpleRealm filename="conf/users/admin-users.xml" />
  -->
    <Context path="/admin" 
             docBase="webapps/admin" 
             reloadable="true" 
             trusted="true" > 
    </Context>
</webapps>

As I said, the authentication seems to be working.  Before I discovered
that I needed a non-null connectionPassword in the JDBCRealm details,
the authentication would just fail, and throw up the user/password
dialog again.  This seems to be a downstream problem.

Peter


"Ignacio J. Ortega" wrote:
> 
> You need to set the trusted="true" attribute in the admin
> context..$TOMCAT_HOME$/conf/apps-admin.xml file..or start tomcat with
> the parameter -enableAdmin ( this does the same thing , change the
> trusted attribute of the admin context )
> 
> DOnt forget to change the passwords of the admin & root user, you can
> found this to passwords in the files
> $TOMCAT_HOME$/conf/users/admin-users.xml & global-users.xml ( same dir )
> respectively..
> 
> Saludos ,
> Ignacio J. Ortega
> 
> > -----Mensaje original-----
> > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
> > nombre de Peter B. West
> > Enviado el: jueves 5 de abril de 2001 11:18
> > Para: [EMAIL PROTECTED]
> > Asunto: tomcat 3.3-M2 /admin/contextAdmin/contextList.jsp failure
> >
> >
> > I have been trying to set up a JBDCRealm using postgresql
> > 7.0.2 under redhat
> > linux with tomcat 3.3-M2.  I got the authentication to work,
> > but ran into the
> > following problem when trying to access the Context List.
> >
> > Error: 500
> > Location: /admin/contextAdmin/contextList.jsp
> > Internal Servlet Error:
> >
> > java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/Logger
> >       at contextAdmin.contextList_1._jspService(contextList_1.java:67)
> >       at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> >       at
> > org.apache.tomcat.facade.ServletHandler.doService(ServletHandl
> er.java:500)
> >       at org.apache.tomcat.core.Handler.service(Handler.java:223)
> >       at
> > org.apache.tomcat.facade.ServletHandler.service(ServletHandler
> .java:448)
> >       at
> > org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:788)
> >       at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
> >       at
> > org.apache.tomcat.modules.server.Ajp13Interceptor.processConne
> > ction(Ajp13Interceptor.java:162)
> >       at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:424)
> >       at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:497)
> >       at java.lang.Thread.run(Thread.java:498)
> >
> > Looking in container/tomcat_util.jar, I see
> > org/apache/tomcat/util/qlog/Logger.class, but no
> > log/Logger.class.  Is this the
> > problem?  If so, how do I fix it (being new to java)?
> >
> > Peter
> > --
> > Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
> > "Lord, to whom shall we go?"
> >

-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"

Reply via email to