In your tomcat Server.xml find the context for the admin servelet and set
the trusted attribute to true i.e.:
<Context path="/admin"
docBase="webapps/admin"
crossContext="true"
debug="0"
reloadable="true"
trusted="true" > <=============== Here
</Context>
I assume it is set to false at the moment.
-----Original Message-----
From: Mark Papiani [mailto:[EMAIL PROTECTED]]
Sent: 17 May 2001 15:22
To: [EMAIL PROTECTED]
Subject: Re: Tomcat admin servlet
Thanks Kevin, but I already have this in the tomcat-users.xml:
<user name="admin" password="admin" roles="admin,tomcat" />
The admin servlet still reports:
2001-05-17 03:19:39 - Ctx( /admin ): 500 R( /admin +
/contextAdmin/contextAdmin.jsp + null) You must mark the administration
application as trusted
How do I mark the admin server as trusted?
Thanks
Mark
----
>From: "Kevin Pang" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: Tomcat admin servlet
>Date: Thu, 17 May 2001 15:28:48 +0200
>
>Add a line in tomcat-users.xml:
><user name="name" password="password" roles="admin" />
>use name/password to access
>Regards,
>
>Kevin
>
>----- Original Message -----
>From: "Mark Papiani" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, May 17, 2001 3:20 PM
>Subject: Tomcat admin servlet
>
>
> > Hi,
> >
> > I read an earlier email about accessing the Tomcat admin servlet and
>just
> > tried:
> >
> > http://myhost:port/admin
> >
> > This displays an admin screen. I then hit "View All Contexts"
> >
> > and I was prompted for login and entered a user/password that I had
>entered
> > in an admin role in tomcat-users.xml.
> >
> > Howerver when I enter my login/password I get:
> >
> > Error: 500
> > Location: /admin/contextAdmin/contextAdmin.jsp
> > You must mark the administration application as trusted
> >
> >
> > Can someone help with this?
> >
> > Thanks
> > Mark Papiani
> >
> >
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
> >
> >
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.