You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zhenja <zh...@zlo.ee> on 2007/04/14 18:17:03 UTC

manager and host manager not available problem

Hi all!

I have installed Tomcat 6.0.10 on Windows XP as windows service. I can
browse to examples and they are running.
But when I browse to /manager or /host-manager I get error 404 - The
requested resource is not available.
Please help.

Regards




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Rashmi Rubdi <ra...@gmail.com>.
IMO it's not such a major bug, because everything continues to work,
as I've indicated in the bugzilla bug all the resources are there ---
only the URLs have changed.

So either patch it yourself or wait for the next release with the patch.

-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: manager and host manager not available problem

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Johnny Kewl [mailto:john@kewlstuff.co.za] 
> Subject: Re: manager and host manager not available problem
> 
> So does this mean under <tomcat>/server/  its just going to 
> be classes and lib, no more webapps?

There is no server directory in 6.0 - take a look at:
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html

Also look at the conf/catalina.properties file in the 6.0 distribution.

> 1) Is there some documentation that talks about the 'design' 
> decisions that one can read... like this for example?
> and is there a 'template' document that talks about the
> planned next versions goodies.

Not that I'm aware of, other than the release notes and the change
history; these topics are discussed on the Tomcat development mailing
list.

> 2) For a user that is say on a very stable version now... 
> whats the safest bet for moving to the next version?

Testing it with your apps in your environment.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
Thx Chuck,

So does this mean under <tomcat>/server/  its just going to be classes and 
lib, no more webapps?
I like the idea... always felt kind of weird installing some stuff under 
server/webapps.

I got a few more questions....

1) Is there some documentation that talks about the 'design' decisions that 
one can read... like this for example?
and is there a 'template' document that talks about the planned next 
versions goodies.

2) For a user that is say on a very stable version now... whats the safest 
bet for moving to the next version?
For example does a major version change represent "major changes" say at 
6.0.5 and when it gets to 6.5.17 one can assume its very stable, and 7.0.1 
would again be considered a larger production risk because of all the new 
stuff... how does that work?

regards,
Johnny

----- Original Message ----- 
From: "Caldarale, Charles R" <Ch...@unisys.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Monday, April 16, 2007 1:23 AM
Subject: RE: manager and host manager not available problem


> From: Johnny Kewl [mailto:john@kewlstuff.co.za]
> Subject: Re: manager and host manager not available problem
>
> Wonder why they changed the manager location....

The directory structure in 6.0.10 has been simplified considerably, as
noted in the doc.  Among other things, it reduces startup time
noticeably.

> now wondering if self install Admin has also changed????

It would if there were one, but no Admin app is available yet for 6.0.

> Anyway.... its nasty because I think you can be sure,
> if the installers have forgotten the link updates in
> Manager, thats probably a reoccuring theme.

The docBase references listed in the earlier message are not actually
used; it's really only the help links that are incorrect, along with
some of the doc text. It's not unusual for the doc to lag behind the
code; which would you rather write?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: manager and host manager not available problem

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Johnny Kewl [mailto:john@kewlstuff.co.za] 
> Subject: Re: manager and host manager not available problem
> 
> Wonder why they changed the manager location....

The directory structure in 6.0.10 has been simplified considerably, as
noted in the doc.  Among other things, it reduces startup time
noticeably.

> now wondering if self install Admin has also changed????

It would if there were one, but no Admin app is available yet for 6.0.

> Anyway.... its nasty because I think you can be sure, 
> if the installers have forgotten the link updates in
> Manager, thats probably a reoccuring theme.

The docBase references listed in the earlier message are not actually
used; it's really only the help links that are incorrect, along with
some of the doc text. It's not unusual for the doc to lag behind the
code; which would you rather write?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
Damn you right.... its a bug, actually its nasty....

Have a look at
http://mail-archives.apache.org/mod_mbox/tomcat-dev/200704.mbox/%3cbug-42130-78@http.issues.apache.org/bugzilla/%3e

Dont know what to suggest coz I dont know how to fix it....
All I can say is I'm running 5.5.17 as windows service and havnt had any 
problems...

Wonder why they changed the manager location.... now wondering if self 
install Admin has also changed????
Anyway.... its nasty because I think you can be sure, if the installers have 
forgotten the link updates in Manager, thats probably a reoccuring theme.

As a user... I would drop back a version until the guru's get a chance to 
sort it out, if you dont want to spend forever fixing it yourself...

Guess they screwed up in the name of progress... ;)
Thx... thought u were a newbie at first... ha ha

----- Original Message ----- 
From: "Zhenja" <zh...@zlo.ee>
To: <us...@tomcat.apache.org>
Sent: Saturday, April 14, 2007 6:17 PM
Subject: manager and host manager not available problem


> Hi all!
>
> I have installed Tomcat 6.0.10 on Windows XP as windows service. I can
> browse to examples and they are running.
> But when I browse to /manager or /host-manager I get error 404 - The
> requested resource is not available.
> Please help.
>
> Regards
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Rashmi Rubdi <ra...@gmail.com>.
On 4/14/07, Zhenja <zh...@zlo.ee> wrote:
> However there is no such path existing
> ${catalina.home}/server/webapps/manager. Neither I cound find it from
> installation files.

Agreed, in Tomcat 6.0.10 there's no such path. However this path was
there in Tomcat 5.x.

Tomcat 6.0.10 has been released *very* recently, so it will take some
time before the links inside the default Tomcat application are
corrected according to the new directory structure available in the
new Tomcat.

May be there's some where on Tomcat's site one could suggest the
corrections to the links and the help documents that come with the
default installation of Tomcat 6.0.10. I don't know where. I'm
guessing bugzilla or the Dev list.

-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Zhenja <zh...@zlo.ee>.
ok, now I can see contents of directory. But his is really not my goal. I
want my manager and host-manager apps to run. Also on manager page following
links give me 404 error: HTML Manager Help and Manager Help, which link to
http://localhost:8080/manager/html-manager-howto.html and
http://localhost:8080/manager/manager-howto.html respectively.
Here is definitely something wrong. I repeat once again
I noted that file Tomcat6.0\webapps\manager\manager.xml has following
contents:
<Context docBase="${catalina.home}/server/webapps/manager"
         privileged="true" antiResourceLocking="false"
antiJARLocking="false">

  <!-- Link to the user database we will get roles from -->
  <ResourceLink name="users" global="UserDatabase"
                type="org.apache.catalina.UserDatabase"/>

</Context>
However there is no such path existing
${catalina.home}/server/webapps/manager. Neither I cound find it from
installation files.


"Rashmi Rubdi" <ra...@gmail.com> wrote in message
news:3ef28230704141130p4afc53cevf78ea3951524b0e8@mail.gmail.com...
> On 4/14/07, Zhenja <zh...@zlo.ee> wrote:
> > I am able to go to http://localhost:8080/manager/html. On this page I
have 4
> > applications listed: docs, examples, manager and host-manager. I can
browse
> > to docs and examples. But when I try to browse to manager or
host-manager, I
> > get error 404.
>
> Set directory listing to true in Tomcat's web.xml , then you won't see
> the 404 instead, you'll see the directory listing at
> http://localhost:8080/manager/
>
>
> Both manager and host-manager require the additional /html after their
path.
>
> -Rashmi
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Rashmi Rubdi <ra...@gmail.com>.
On 4/14/07, Zhenja <zh...@zlo.ee> wrote:
> I am able to go to http://localhost:8080/manager/html. On this page I have 4
> applications listed: docs, examples, manager and host-manager. I can browse
> to docs and examples. But when I try to browse to manager or host-manager, I
> get error 404.

Set directory listing to true in Tomcat's web.xml , then you won't see
the 404 instead, you'll see the directory listing at
http://localhost:8080/manager/


Both manager and host-manager require the additional /html after their path.

-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Rashmi Rubdi <ra...@gmail.com>.
Look in Manager's app's web.xml there's a URL pattern /html/* , that
URL is reletive to the /manager context, that's why you can access the
HTML manager at /manager/html

You should easily be able to find the manager app from the default
Tomcat page at
http://localhost:8080/ by clicking on "Tomcat Manager" on the top left
section of the left navigation.

-Rashmi

On 4/14/07, Zhenja <zh...@zlo.ee> wrote:
> However there is no such path existing
> ${catalina.home}/server/webapps/manager. Neither I cound find it from
> installation files. Can somebody explain - what is happening here?
>
> Regards,
> Zhenja

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Zhenja <zh...@zlo.ee>.
I also noted that file Tomcat6.0\webapps\manager\manager.xml has following
contents:
<Context docBase="${catalina.home}/server/webapps/manager"
         privileged="true" antiResourceLocking="false"
antiJARLocking="false">

  <!-- Link to the user database we will get roles from -->
  <ResourceLink name="users" global="UserDatabase"
                type="org.apache.catalina.UserDatabase"/>

</Context>
However there is no such path existing
${catalina.home}/server/webapps/manager. Neither I cound find it from
installation files. Can somebody explain - what is happening here?

Regards,
Zhenja

"Zhenja" <zh...@zlo.ee> wrote in message news:evr5bh$bmg$1@sea.gmane.org...
> I am able to go to http://localhost:8080/manager/html. On this page I have
4
> applications listed: docs, examples, manager and host-manager. I can
browse
> to docs and examples. But when I try to browse to manager or host-manager,
I
> get error 404.
> I had in my tomcat-users.xml already entry
>   <user username="admin" password="lala" roles="admin,manager"/>
> I've added another one, and logged in under this different account, but
> result is the same.
>
> Zhenja
>
> "Rashmi Rubdi" <ra...@gmail.com> wrote in message
> news:3ef28230704141053h667cb20ble62753ce2b036d6e@mail.gmail.com...
> > The correct default URL for the manager app on Tomcat 6.0.10 is
> > http://localhost:8080/manager/html , I'm able to access it after a
> > fresh install of Tomcat.
> >
> > You also need to add an entry into tomcat-users.xml located under
> > ...\apache-tomcat-6.0.10\conf\
> >
> > Something like:
> >
> > <?xml version='1.0' encoding='utf-8'?>
> > <tomcat-users>
> >   <role rolename="manager"/>
> >   <role rolename="admin"/>
> >   <user username="someusername" password="somepassword"
> roles="admin,manager"/>
> > </tomcat-users>
> >
> > -Rashmi
> > On 4/14/07, Zhenja <zh...@zlo.ee> wrote:
> > > Hi all!
> > >
> > > I have installed Tomcat 6.0.10 on Windows XP as windows service. I can
> > > browse to examples and they are running.
> > > But when I browse to /manager or /host-manager I get error 404 - The
> > > requested resource is not available.
> > > Please help.
> > >
> > > Regards
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To start a new topic, e-mail: users@tomcat.apache.org
> > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail: users-help@tomcat.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Zhenja <zh...@zlo.ee>.
I am able to go to http://localhost:8080/manager/html. On this page I have 4
applications listed: docs, examples, manager and host-manager. I can browse
to docs and examples. But when I try to browse to manager or host-manager, I
get error 404.
I had in my tomcat-users.xml already entry
  <user username="admin" password="lala" roles="admin,manager"/>
I've added another one, and logged in under this different account, but
result is the same.

Zhenja

"Rashmi Rubdi" <ra...@gmail.com> wrote in message
news:3ef28230704141053h667cb20ble62753ce2b036d6e@mail.gmail.com...
> The correct default URL for the manager app on Tomcat 6.0.10 is
> http://localhost:8080/manager/html , I'm able to access it after a
> fresh install of Tomcat.
>
> You also need to add an entry into tomcat-users.xml located under
> ...\apache-tomcat-6.0.10\conf\
>
> Something like:
>
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
>   <role rolename="manager"/>
>   <role rolename="admin"/>
>   <user username="someusername" password="somepassword"
roles="admin,manager"/>
> </tomcat-users>
>
> -Rashmi
> On 4/14/07, Zhenja <zh...@zlo.ee> wrote:
> > Hi all!
> >
> > I have installed Tomcat 6.0.10 on Windows XP as windows service. I can
> > browse to examples and they are running.
> > But when I browse to /manager or /host-manager I get error 404 - The
> > requested resource is not available.
> > Please help.
> >
> > Regards
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Rashmi Rubdi <ra...@gmail.com>.
The correct default URL for the manager app on Tomcat 6.0.10 is
http://localhost:8080/manager/html , I'm able to access it after a
fresh install of Tomcat.

You also need to add an entry into tomcat-users.xml located under
...\apache-tomcat-6.0.10\conf\

Something like:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="someusername" password="somepassword" roles="admin,manager"/>
</tomcat-users>

-Rashmi
On 4/14/07, Zhenja <zh...@zlo.ee> wrote:
> Hi all!
>
> I have installed Tomcat 6.0.10 on Windows XP as windows service. I can
> browse to examples and they are running.
> But when I browse to /manager or /host-manager I get error 404 - The
> requested resource is not available.
> Please help.
>
> Regards
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: manager and host manager not available problem

Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
try
http://localhost:8080/manager/html

Should be able to see the links used if you
http://localhost:8080/
and look at what they have use on default helper page

have fun


----- Original Message ----- 
From: "Zhenja" <zh...@zlo.ee>
To: <us...@tomcat.apache.org>
Sent: Saturday, April 14, 2007 6:17 PM
Subject: manager and host manager not available problem


> Hi all!
> 
> I have installed Tomcat 6.0.10 on Windows XP as windows service. I can
> browse to examples and they are running.
> But when I browse to /manager or /host-manager I get error 404 - The
> requested resource is not available.
> Please help.
> 
> Regards
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org