Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

/admin not accessible in tomcat 5.5

 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed tomcat 5.5 and then separately downloaded admin application zip for 5.5. I copied conf\Catalina\localhost\admin.xml and the admin folder under the webapps. Still I am getting the error when I try to access the url thru' http://localhost:8080/admin/.

The error I see is "The requested resource (/admin/) is not available."

On googling I checked web.xml. There nothing seems to be wrong. Also the admin context is visible thru' http://localhost:8080/manager/. any suggestions?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On my Tomcat 5.5, admin is under the directory:
TOMCAT\server\webapps\
which also has the "manager" directory, instead of the
TOMCAT\webapps
directory where the standard distribution puts web apps.

Also my tomcat-users.xml file defines an "admin" role.

Bill
 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It resolved the issue. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic