forgot to uncomment usernames and roles!
excuse and thanks :)

On Sat, Sep 22, 2012 at 3:31 PM, Tim Watts <t...@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
>
>

Reply via email to