You are telling me there's a chance that the manager role definition is not
included in the
default realms?
I checked the page that you told me and apparently the realm is defined in
the server.xml file ...

I noticed that the server.xml file in the server that deosn;t work is much
more smaller than the one that really works...

Let me check that.

Thanks,
Fabian

On 3/29/07, Martin Gainty <[EMAIL PROTECTED]> wrote:

Fabian
I think this link
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#What%20is%20a%20Realm?
*may help*
      Manager Application
        If you wish to use the Manager Application to deploy and undeploy
applications in a running Tomcat 5 installation, you MUST add the "manager"
role to at least one username in your selected Realm implementation. This is
because the manager web application itself uses a security constraint that
requires role "manager" to access ANY request URI within that application.

        For security reasons, no username in the default Realm (i.e. using
conf/tomcat-users.xml is assigned the "manager" role. Therfore, no one
will be able to utilize the features of this application until the Tomcat
administrator specifically assigns this role to one or more users.


Does this answer your question?
M--

---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the
use of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.

---------------------------------------------------------------------------
Le présent message électronique (y compris les pièces qui y sont annexées,
le cas échéant) s'adresse au destinataire indiqué et peut contenir des
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement
interdit de le diffuser, de le distribuer ou de le reproduire.
----- Original Message -----
From: "Fabian Arocena" <[EMAIL PROTECTED]>
To: "Martin Gainty" <[EMAIL PROTECTED]>
Cc: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, March 29, 2007 11:38 AM
Subject: Re: Tomcat manager console not appearing


why? The "standard" role is well defined ... It doesn't even prompt me for
a
user id & password (that happens even if you don't add the manager, admin
and standard roles...), it just displays that message. I have enabled this
console in 2 other boxes, with the same tomcat version and this didn't
happen ...
Isn't there a file where every application is published or something?
Thanks,
Fabian


On 3/29/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> suggest changing the manager to roles="admin,manager"
>
> M--
>
>
---------------------------------------------------------------------------
> This e-mail message (including attachments, if any) is intended for the
> use of the individual or entity to which it is addressed and may contain
> information that is privileged, proprietary , confidential and exempt
from
> disclosure. If you are not the intended recipient, you are notified that
any
> dissemination, distribution or copying of this communication is strictly
> prohibited.
>
>
---------------------------------------------------------------------------
> Le présent message électronique (y compris les pièces qui y sont
annexées,
> le cas échéant) s'adresse au destinataire indiqué et peut contenir des
> renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
> destinataire de ce document, nous vous signalons qu'il est strictement
> interdit de le diffuser, de le distribuer ou de le reproduire.
> ----- Original Message -----
> From: "Fabian Arocena" <[EMAIL PROTECTED]>
> To: "Martin Gainty" <[EMAIL PROTECTED]>
> Cc: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Thursday, March 29, 2007 8:53 AM
> Subject: Re: Tomcat manager console not appearing
>
>
> Thank you for your answer, Martin. This is how my tomcat-users.xml looks
> like (I have it the same way in another Solaris box, same version and
same
> tomcat version)
>
>
> <tomcat-users>
>   <role rolename="tomcat"/>
>   <role rolename="role1"/>
>   <role rolename="standard"/>
>   <role rolename="manager"/>
>   <role rolename="admin"/>
>   <user username="tomcat" password="tomcat" roles="tomcat"/>
>   <user username="role1" password="tomcat" roles="role1"/>
>   <user username="both" password="tomcat" roles="tomcat,role1"/>
>   <user username="manager" password="manager" roles="standard,manager"/>
>   <user username="admin" password="admin" roles="admin"/>
> </tomcat-users>
>
> I don;t know why it doesn;t work in this box ...
> Thanks,
> Fabian
>
> On 3/28/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
> >
> > Fabian-
> >
> > in $TOMCAT_HOME/conf/tomcat-users.xml
> > check your username you are using to access the manager has these
roles
> > defined
> >
> > roles="admin,manager"
> >
> > M--
> >
> >
>
---------------------------------------------------------------------------
> > This e-mail message (including attachments, if any) is intended for
the
> > use of the individual or entity to which it is addressed and may
contain
> > information that is privileged, proprietary , confidential and exempt
> from
> > disclosure. If you are not the intended recipient, you are notified
that
> any
> > dissemination, distribution or copying of this communication is
strictly
> > prohibited.
> >
> >
>
---------------------------------------------------------------------------
> > Le présent message électronique (y compris les pièces qui y sont
> annexées,
> > le cas échéant) s'adresse au destinataire indiqué et peut contenir des
> > renseignements de caractère privé ou confidentiel. Si vous n'êtes pas
le
> > destinataire de ce document, nous vous signalons qu'il est strictement
> > interdit de le diffuser, de le distribuer ou de le reproduire.
> > ----- Original Message -----
> > From: "Fabian Arocena" <[EMAIL PROTECTED]>
> > To: <users@tomcat.apache.org>
> > Sent: Wednesday, March 28, 2007 5:07 PM
> > Subject: Tomcat manager console not appearing
> >
> >
> > > Hi All,
> > >
> > > I have enabled the tomcat manager console in a Solaris box by adding
> the
> > > necessary roles and usernames in /opt/apache-tomcat-5.5.17/conf/
> > > tomcat-users.xml.
> > > Everything goes fine when I log in to one of them ( manager console
(
> by
> > > going to this link: https://151.193.178.113/manager/html and typing
> the
> > user
> > > id and password)
> > > However, I can't log in to the console, it displays these well-known
> > > messages:
> > >
> > > type Status report
> > > message /manager/html
> > > description The requested resource (/manager/html) is not available.
> > >
> > > I have checked the manager application and it seems to be installed:
> > >
> > > /opt/apache-tomcat-5.5.17/server/webapps/manager>ls -ltr
> > > total 290
> > > -rw-r--r--   1 root     root        3295 Apr 14  2006 xform.xsl
> > > -rw-r--r--   1 root     root        2977 Apr 14  2006 status.xsd
> > > -rw-r--r--   1 root     root         469 Apr 14  2006 manager.xml
> > > -rw-r--r--   1 root     root       97383 Apr 14  2006
> manager-howto.html
> > > -rw-r--r--   1 root     root       39730 Apr 14  2006
> > > html-manager-howto.html
> > > drwxr-xr-x   3 root     root         512 Jul 20  2006 WEB-INF
> > > drwxr-xr-x   2 root     root         512 Jul 20  2006 images
> > >
> > > Do you have an idea of where I should look at? Maybe server.xml in
the
> > conf
> > > directory.
> > > Thanks,
> > > Fabian
> > >
>

Reply via email to