You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohsen Jamali <mo...@gmail.com> on 2012/09/22 13:01:03 UTC
tomcat manager login
Hi guys,
After searching the web about how to deploy a war file on Tomcat. i came to
the conclusion that i should change the /etc/tomcat6/tomcat-users.xml file
and add sth like this :
1. <role rolename="manager-gui"/>
2. <user username="admin" password="admin" roles=
"standard, manager-gui"/>
but after after adding this two lines ang going to
localhost:8080/manager/html and entering admin as user and pass it doesn't
accept it.
what's wrong me.
thanks
Re: tomcat manager login
Posted by Mohsen Jamali <mo...@gmail.com>.
forgot to uncomment usernames and roles!
excuse and thanks :)
On Sat, Sep 22, 2012 at 3:31 PM, Tim Watts <ti...@cliftonfarm.org> wrote:
> On Sat, 2012-09-22 at 14:31 +0330, Mohsen Jamali wrote:
> > Hi guys,
> > After searching the web about how to deploy a war file on Tomcat.
>
> The simplest way is to just copy the war file to webapps/ under your
> Tomcat base. By default Tomcat will automatically deploy it from there.
>
> > i came to
> > the conclusion that i should change the /etc/tomcat6/tomcat-users.xml
> file
> > and add sth like this :
> >
> >
> > 1. <role rolename="manager-gui"/>
> > 2. <user username="admin" password="admin" roles=
> > "standard, manager-gui"/>
> >
> Did you restart Tomcat?
>
> > but after after adding this two lines ang going to
> > localhost:8080/manager/html and entering admin as user and pass it
> doesn't
> > accept it.
>
> That's pretty vague. What DOES it do?
>
> > what's wrong me.
> > thanks
>
>
Re: tomcat manager login
Posted by Tim Watts <ti...@cliftonfarm.org>.
On Sat, 2012-09-22 at 14:31 +0330, Mohsen Jamali wrote:
> Hi guys,
> After searching the web about how to deploy a war file on Tomcat.
The simplest way is to just copy the war file to webapps/ under your
Tomcat base. By default Tomcat will automatically deploy it from there.
> i came to
> the conclusion that i should change the /etc/tomcat6/tomcat-users.xml file
> and add sth like this :
>
>
> 1. <role rolename="manager-gui"/>
> 2. <user username="admin" password="admin" roles=
> "standard, manager-gui"/>
>
Did you restart Tomcat?
> but after after adding this two lines ang going to
> localhost:8080/manager/html and entering admin as user and pass it doesn't
> accept it.
That's pretty vague. What DOES it do?
> what's wrong me.
> thanks