I did look at your previous mail of course, before sending my help request. but
it did not seem to work...
I updated tomcat-users.xml with :
<user name="admin" password="admin" roles="admin" />
I updated server.xml with :
<Context path="/admin"
docBase="webapps/admin"
crossContext="true"
debug="0"
reloadable="true"
trusted="true" >
</Context>
hmmm, I'm sorry Kenneth, I did not restart Tomcat... :-0
OK, Thanks, now it works well ! :-)
But I'm still not comfortable with the way it works...
I understand the role name must have the same value as the context path, is
that right ?
Then, do you have to create a new role in tomcat-users.xml for each context
defined in server.xml ?
Can't several contexts share the same role ?
Actually, I guess I mix "Alias", "Context", "ApJServMount" and "jkMount"...
I'm lost in the configuration files.
Which one is used for what ???
Could somebody rescue me ?
Thomas
Kenneth Westelinck wrote:
> Hi,
>
> For the first question, please have a look at: "Re: what is the password of
> tomcat admin".
> I haven't tried it yet, but I think the admin is being used as a graphical
> tool to create and delete a context. If you prefer the non graphical way,
> just edit the server.xml file.
>
> regards,
>
> Kenneth
>
> >From: "Thomas Klein" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: Tomcat User List <[EMAIL PROTECTED]>
> >Subject: Tomcat Administration Tools
> >Date: Fri, 09 Mar 2001 14:03:10 +0100
> >
> >Hello All !
> >Three-questions-in-one :
> >
> >Question 1 : What's the use of the "Tomcat Administration Tools"
> >(http://localhost:8080/admin/index.html) page ?
> >
> >From there I get 2 links :
> >- "Context Admin"
> >(http://localhost:8080/admin/contextAdmin/contextAdmin.html),
> >- "Snoop" (http://localhost:8080/examples/jsp/snp/snoop.jsp) which seems
> >to be just an example.
> >
> >The problem is I can't access "Context Admin". A Login/Password is
> >required (!)
> >I looked into "server.xml" and "tomcat-users.xml" but I couldn't figure
> >how the roles defined in tomcat-users are associated to the context
> >defined in server.xml...
> >
> >Question 2 : Could someone explain how it works ?
> >Question 3 : How should I configure my Tomcat server to get in
> >"ContextAdmin" from the Tomcat Administration Tools page ?
> >
> >Thanks for your help.
> >
> >Thomas
> >(Windows NT4 + JDK 1.3 + Apache 1.3.14 + Tomcat 3.2.1)
> ><< r7972c.vcf >>
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, email: [EMAIL PROTECTED]
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
begin:vcard
n:KLEIN;Thomas
tel;cell:06 62 05 49 46
tel;home:[EMAIL PROTECTED]
x-mozilla-html:TRUE
org:APSIDE
adr:;;;Toulouse;;;FRANCE
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Thomas KLEIN
end:vcard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]