Here's the web.xml for the admin site:
<web-app>
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<url-pattern>/contextAdmin/*</url-pattern>
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Admin</realm-name>
</login-config>
</web-app>
What is the Admin realm? Is it a database or something? I've looked in the
config files and not seen it... hm....
Mark
-----Original Message-----
From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 1:17 PM
To: 'Tomcat Users List'
Subject: RE: admin pages.
By the way, I am using Tomcat 3.2.3, downloaded as part of the install
for JBoss... Does that change anything?
-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 12:55 PM
To: Tomcat Users List
Subject: RE: admin pages.
For Tomcat 4 stand-alone, the relevant documentation is the "Manager App
HOW-TO" that is included in the Tomcat 4 documentation, and is also
available online at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
It tells you that the username and password are totally arbitrary, but the
role name Tomcat is looking for is "manager".
If you are using Tomcat stand-alone with no changes, you need to define
one or more users with this role in the XML file that Tomcat uses
(conf/tomcat-users.xml). However, if you have modified the place where
Tomcat looks up users (I don't use the JBoss integration, so I have no
clue what they tell you to do), then you'll need to define a user with the
appropriate role *there* rather than here.
Craig
On Thu, 1 Nov 2001, McDowell, Mark wrote:
> Date: Thu, 1 Nov 2001 12:45:17 -0600
> From: "McDowell, Mark" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> Subject: RE: admin pages.
>
> I have tried manager, tomcat, tomcat_manager and none seem to work. And
> yes, I did restart the server... :) Any other ideas? If there is an
> area of the documentation which covers this, I'd be GLAD to look at it...
> I just didn't find it so far...
>
> Mark
>
> -----Original Message-----
> From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 01, 2001 10:46 AM
> To: Tomcat Users List
> Subject: RE: admin pages.
>
>
> restart tomcat.. ;)) it does not reload the file..
> and ehh.. for tomcat 4 it is manager and for tomcat 3 it is tomcat_admin
or
> tomcat (couldn't get that quite clear, never used it..)
>
> Mvgr,
> Martin
>
> > -----Original Message-----
> > From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 01, 2001 5:35 PM
> > To: 'Tomcat Users List'
> > Subject: RE: admin pages.
> >
> >
> > I said thanks too soon... :( I tried adding the "admin" role to a user
> > in tomcat-users.xml file, but it seems to make no difference... Is there
> > a list of predefined "roles" somewhere?
> >
> > -----Original Message-----
> > From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 01, 2001 10:18 AM
> > To: Tomcat Users List
> > Subject: RE: admin pages.
> >
> >
> > You have to manually add a user to the tomcat-users.xml file,
> > which has the
> > admin role.
> >
> > Mvgr,
> > Martin
> >
> > > -----Original Message-----
> > > From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, November 01, 2001 5:14 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
> > >
> > >
> > > Everyone,
> > >
> > > I have a simple question - I've looked in the documentation and
> > > can't seem
> > > to find it. I'm in the process of trying to use JBoss and
> > Tomcat, and am
> > > poking around with Tomcat and wanted to use the admin pages.
Except...
> > > I have NO IDEA what the user name and password is... Any help???
> > >
> > > mark
> > >
> > > -----Original Message-----
> > > From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, November 01, 2001 10:08 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
> > >
> > >
> > > What an excellent timing! I just subscribed to the mailing list
> > today, and
> > > quickly discovered that the traffic volume is quite high.
> > > Wondered if there
> > > was a discussion forum instead - and voila! Your mail popped
> > up!!! Thanks
> > > for a great initiative!
> > >
> > > Cheers - Henrik
> > >
> > > ------------------------------------------------------------------
> > > ---------
> > > This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
> > > on line forum, and can be seen at:
> > > <http://nagoya.apache.org:8080/jive/thread.jsp?forum=1&thread=3>
> > > For more informations about the on-line Jakarta forums, please go to:
> > > <http://nagoya.apache.org:8080/jive/>
> > > ------------------------------------------------------------------
> > > ---------
> > >
> > > --
> > > To unsubscribe: <mailto:[EMAIL PROTECTED]>
> > > For additional commands: <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > >
> > > --
> > > To unsubscribe: <mailto:[EMAIL PROTECTED]>
> > > For additional commands: <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > --
> > To unsubscribe: <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe: <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>