11.15.07
how to change the username&password for Tomcat manager/admin
1) Goto Tomcat Home directory/conf/open tomcat-user.xml file
2) and change the username and password under manager role to whatever u want like below…
<user username=”chaitanya” password=”chaitanya” roles=”admin,manager”/>
3) if u want to seperate users for admin and manager then use two user elements like
<user username=”admin” password=”admin” roles=”admin”/>
<user username=”cnya” password=”cnya” roles=”manager”/>
save the file and restart the tomcat.
How to change the port number for Tomcat
1) go to Tomcat Home directory/conf/ open “server.xml” file.
2) look for <Service name=”Catalina”>
3) change the value of port attribute of Connector element to what ever value u want.
<Connector port=”8088″ …………….>
4) restart the tomcat
5) go to browser and use the new port number.
http://localhost:8088/