Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to open the tomcat manager

 
MuraliH Krishna
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,
I have a requirement to open the Tomcat Web Application Manager which has the list of all the projects deployed instead of the tomcat home page when ever i open the tomcat i.e when I use http://localhost:8080 in the browser. Can anyone of you help me. Thank you in advance.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On a top left side of tomcat homepage , a second option is 'Tomcat Manager' , look for it !!
 
MuraliH Krishna
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sagar for your reply, my requirement is without clicking the link i want to goto the tomcat manager page where all the projects are deployed. i.e if I hit http://localhost:8080/ I should land into that page. Can some one can help me please.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this url , http://localhost:8080/manager/html will redirect you to the manager page, but this required the authentication , which done against the the data from conf/tomcat-user.xml file. So , you may have to SET the user name and password into POST request to above URL. I never done so , but give it a try , other wise you ask to tomcat community ! and this http://localhost:8080/docs/manager-howto.html docs may help !
[ July 28, 2008: Message edited by: Sagar Rohankar ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you create a ROOT webapp with an index.jsp page that does nothing but redirect the user to the manager page?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the record... that seems like an odd requirement to me.

Generally, the manager app isn't something you want to expose to the outside world, let alone make it the front page for your domain.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic