You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Turner, John" <JT...@AAS.com> on 2002/11/05 20:56:40 UTC
Installing and using manager app in 4.1.12
This is my first foray into the world of the Tomcat manager app. Any help
is appreciated.
I've been using this guide:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
I've modified conf/tomcat-users.xml: I added a new role named "manager", as
I wasn't clear on whether the existing role of "tomcat" was equal to
"manager" or not. I also added a new user named "admin" like so:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="admin" password="myPassWord" roles="manager"/>
</tomcat-users>
When I access http://some.host.name:8080/manager, I get prompted with a
standard auth request pop-up. I type in the username and password of the
"admin" user.
The result is a blank white page and an error message that says "FAIL -
Unknown command /".
According to the guide, I can deploy the manager app simply by having
manager.xml in the appBase for my Host.
The Host appBase is "webapps" which is the default. There is a manager.xml
file in CATALINA_HOME/webapps, it's the one that came with the install
package.
Can anyone tell me what I am missing? Do I have tomcat-users.xml screwed
up? In the default tomcat-users.xml, is the "tomcat" role = "manager" role
as mentioned in the docs?
Thanks in advance.
- John
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Installing and using manager app in 4.1.12
Posted by Kaustuv Sharma <sk...@neline.com>.
the manager application request url is like this
http://{host}:{port}/manager/{command}?{parameters}
you have to give the command which you want to execute. For more details go to:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
----- Original Message -----
From: Jon Eaves
To: Tomcat Users List
Sent: Wednesday, November 06, 2002 5:01 AM
Subject: Re: Installing and using manager app in 4.1.12
Turner, John wrote:
> This is my first foray into the world of the Tomcat manager app. Any help
> is appreciated.
>
[ snip of great example of a good request for help ]
>
> When I access http://some.host.name:8080/manager, I get prompted with a
> standard auth request pop-up. I type in the username and password of the
> "admin" user.
>
> The result is a blank white page and an error message that says "FAIL -
> Unknown command /".
If you look at : http://some.host.hame:8080/
From a fresh install, the default page gives you the clue you need.
There are 2 links on the LHS of the page to the Administration and the
Manager applications.
You'll find that: http://some.host.name:8080/manager/html
Does exactly what you need in this case.
Cheers,
-- jon
--
Jon Eaves <jo...@eaves.org>
http://www.eaves.org/jon/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Installing and using manager app in 4.1.12
Posted by Jon Eaves <jo...@eaves.org>.
Turner, John wrote:
> This is my first foray into the world of the Tomcat manager app. Any help
> is appreciated.
>
[ snip of great example of a good request for help ]
>
> When I access http://some.host.name:8080/manager, I get prompted with a
> standard auth request pop-up. I type in the username and password of the
> "admin" user.
>
> The result is a blank white page and an error message that says "FAIL -
> Unknown command /".
If you look at : http://some.host.hame:8080/
From a fresh install, the default page gives you the clue you need.
There are 2 links on the LHS of the page to the Administration and the
Manager applications.
You'll find that: http://some.host.name:8080/manager/html
Does exactly what you need in this case.
Cheers,
-- jon
--
Jon Eaves <jo...@eaves.org>
http://www.eaves.org/jon/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Installing and using manager app in 4.1.12
Posted by Stefan Wimmer <sw...@gx.nl>.
Hi John,
there is a nice HTML interface via
http://your_host:your_port/manager/html/list
You'll get the same auth request pop-up and then a very nice list of
webapps our tomcat is running.
Hope this helps
Stefan
* Turner, John <JT...@AAS.com> wrote on 05/Nov/2002 - 02:56:40 :
>
> This is my first foray into the world of the Tomcat manager app. Any help
> is appreciated.
>
> I've been using this guide:
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
>
> I've modified conf/tomcat-users.xml: I added a new role named "manager", as
> I wasn't clear on whether the existing role of "tomcat" was equal to
> "manager" or not. I also added a new user named "admin" like so:
>
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
> <role rolename="tomcat"/>
> <role rolename="role1"/>
> <role rolename="manager"/>
> <user username="tomcat" password="tomcat" roles="tomcat"/>
> <user username="role1" password="tomcat" roles="role1"/>
> <user username="both" password="tomcat" roles="tomcat,role1"/>
> <user username="admin" password="myPassWord" roles="manager"/>
> </tomcat-users>
>
> When I access http://some.host.name:8080/manager, I get prompted with a
> standard auth request pop-up. I type in the username and password of the
> "admin" user.
>
> The result is a blank white page and an error message that says "FAIL -
> Unknown command /".
>
> According to the guide, I can deploy the manager app simply by having
> manager.xml in the appBase for my Host.
>
> The Host appBase is "webapps" which is the default. There is a manager.xml
> file in CATALINA_HOME/webapps, it's the one that came with the install
> package.
>
> Can anyone tell me what I am missing? Do I have tomcat-users.xml screwed
> up? In the default tomcat-users.xml, is the "tomcat" role = "manager" role
> as mentioned in the docs?
>
> Thanks in advance.
>
> - John
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Installing and using manager app in 4.1.12
Posted by Aryeh Katz <ar...@vasco.com>.
snip
>
> The result is a blank white page and an error message that says "FAIL
> - Unknown command /".
>
You're not missing anything, you just didn't issue a command. try doing a
/list and see what happens :-).
Aryeh
---
Aryeh Katz
VASCO
www.vasco.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>