You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ralph <rl...@guardiananalytics.com> on 2007/11/20 20:05:18 UTC
unable to access Tomcat Admin
Hi
I have a question about tomcat 5.5 admin pacakge. I downloaded it and
installed it according to the instruction.
After starting the tomcat server, when I click on the Tomcat
Administration link, I got the following error message just like before
Tomcat's administration web application is no longer installed by
default. Download and install the "admin" package to use it
I used the Manager and see the /admin was deployed and running. So
instead of <http://localhost:8080/admin> http://localhost:8080/admin
I typed <http://localhost:8080/admin/index.html>
http://localhost:8080/admin/index.html, which mysteriously brought up the
signon page for the Tomcat Web Server
Administration Tool with the background in purple.
I typed in the admin username and password and would get
HTTP Status 404 - /admin/index.htmltype Status report
message /admin/index.html
description The requested resource (/admin/index.html) is not
available.
Now, after this, the link won't work anymore until the admin app is
reloaded.
I also added
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
in the admin.xml (which the instruction didn't say) but it didn't help
either
Am I missing a step?
Thanks
Ralph
RE: unable to access Tomcat Admin
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ralph [mailto:rlao@guardiananalytics.com]
> Subject: unable to access Tomcat Admin
>
> After starting the tomcat server, when I click on the Tomcat
> Administration link, I got the following error message just
> like before
Your browser has likely cached the page. Refresh it.
> I typed <http://localhost:8080/admin/index.html>
> http://localhost:8080/admin/index.html, which mysteriously
> brought up the signon page for the Tomcat Web Server
> Administration Tool with the background in purple.
Why do you think that's mysterious? You referenced a protected resource
(even though it doesn't exist), so Tomcat diverted the request to the
configured login form.
> I typed in the admin username and password and would get
> HTTP Status 404
> The requested resource (/admin/index.html) is not available.
That's because there is no /admin/index.html. After successful login,
Tomcat reran the specifed request, which correctly gets the 404.
> I also added
> <!-- Link to the user database we will get roles from -->
> <ResourceLink name="users" global="UserDatabase"
> type="org.apache.catalina.UserDatabase"/>
Take out the above - it's pointless.
Just refresh the original page (http://localhost:8080/admin) in your
browser, or clear its cache.
- 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