aspose file tools*
The moose likes Tomcat and the fly likes how to open the tomcat manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to open the tomcat manager" Watch "how to open the tomcat manager" New topic
Author

how to open the tomcat manager

MuraliH Krishna
Greenhorn

Joined: Jan 19, 2008
Posts: 9
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

On a top left side of tomcat homepage , a second option is 'Tomcat Manager' , look for it !!


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
MuraliH Krishna
Greenhorn

Joined: Jan 19, 2008
Posts: 9
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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

Joined: Dec 11, 2004
Posts: 13410

Why don't you create a ROOT webapp with an index.jsp page that does nothing but redirect the user to the manager page?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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.
 
 
subject: how to open the tomcat manager