Discussion:
Problem when clicking on either /manager or /host-manager from: http://localhost:8080/manager/html
D***@ey.com
2007-10-19 19:03:08 UTC
Permalink
I'm ok when I click on /docs or /examples, but when I click on either
/manager or /host-manager from http://localhost:8080/manager/html, I get
an 'HTTP Status 404' error, where the description is:

The requested resource (/{manager or host-manager}/) is not available.

Meanwhile, the only modification I've made since downloading Tomcat was to
add my username/password combo to TOMCAT-USERS.XML, and give myself admin
and manager privileges.

Also, when I use the LIST command (i.e.
http://localhost:8080/manager/list) ,I get the following, which looks
good:

OK - Listed applications for virtual host localhost
/:running:0:ROOT
/manager:running:0:manager
/docs:running:0:docs
/examples:running:0:examples
/host-manager:running:0:host-manager


Conversely, when I use the ROLES command (i.e.
http://localhost:8080/manager/roles), I get bad results:

FAIL - Cannot resolve user database reference


This is my first foray into the world of TOMCAT and, while I know there's
always a learning curve involved, I can't seem to conquer this one.

Finally, I think it'll be useful if I bought a book about Apache Tomcat 6,
and I found one from APRESS and one from WROX, which seem to be pretty
readable.

Can anyone recommend a good book for Apache Tomcat 6?




Daniel S. Toma

Ernst & Young

Office: (201) 872-4155




Any U.S. tax advice contained in the body of this e-mail was not intended or written to be used, and cannot be used, by the recipient for the purpose of avoiding penalties that may be imposed under the Internal Revenue Code or applicable state or local tax law provisions.
________________________________________________________________________
The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.

Notice required by law: This e-mail may constitute an advertisement or solicitation under U.S. law, if its primary purpose is to advertise or promote a commercial product or service. You may choose not to receive advertising and promotional messages from Ernst & Young LLP (except for Ernst & Young Online and the ey.com website, which track e-mail preferences through a separate process) at this e-mail address by forwarding this message to no-more-***@ey.com. If you do so, the sender of this message will be notified promptly. Our principal postal address is 5 Times Square, New York, NY 10036. Thank you. Ernst & Young LLP
Bill Barker
2007-10-20 02:07:17 UTC
Permalink
The 404 error is because /manager doesn't have a welcome-page, and directory listings are off by default. The error for roles is because TC can't find the UserDatabase defined by default in server.xml. Your log files should have more information about why it failed.
<***@ey.com> wrote in message news:OF04B1A74B.1127E01C-ON85257379.0066F394-***@EY.COM...

I'm ok when I click on /docs or /examples, but when I click on either /manager or /host-manager from http://localhost:8080/manager/html, I get an 'HTTP Status 404' error, where the description is:

The requested resource (/{manager or host-manager}/) is not available.

Meanwhile, the only modification I've made since downloading Tomcat was to add my username/password combo to TOMCAT-USERS.XML, and give myself admin and manager privileges.

Also, when I use the LIST command (i.e. http://localhost:8080/manager/list) ,I get the following, which looks good:

OK - Listed applications for virtual host localhost
/:running:0:ROOT
/manager:running:0:manager
/docs:running:0:docs
/examples:running:0:examples
/host-manager:running:0:host-manager


Conversely, when I use the ROLES command (i.e. http://localhost:8080/manager/roles), I get bad results:

FAIL - Cannot resolve user database reference


This is my first foray into the world of TOMCAT and, while I know there's always a learning curve involved, I can't seem to conquer this one.

Finally, I think it'll be useful if I bought a book about Apache Tomcat 6, and I found one from APRESS and one from WROX, which seem to be pretty readable.

Can anyone recommend a good book for Apache Tomcat 6?



Daniel S. Toma
Ernst & Young
Office: (201) 872-4155




Any U.S. tax advice contained in the body of this e-mail was not intended or written to be used, and cannot be used, by the recipient for the purpose of avoiding penalties that may be imposed under the Internal Revenue Code or applicable state or local tax law provisions.
________________________________________________________________________
The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.

Notice required by law: This e-mail may constitute an advertisement or solicitation under U.S. law, if its primary purpose is to advertise or promote a commercial product or service. You may choose not to receive advertising and promotional messages from Ernst & Young LLP (except for Ernst & Young Online and the ey.com website, which track e-mail preferences through a separate process) at this e-mail address by forwarding this message to no-more-***@ey.com. If you do so, the sender of this message will be notified promptly. Our principal postal address is 5 Times Square, New York, NY 10036. Thank you. Ernst & Young LLP
Loading...