Wednesday, September 22, 2010

Prepare the Tomcat Manager application

In order to deploy a web app to your Tomcat server, you will need to ensure that you can access the Tomcat Manager application at: http://localhost:8080/manager/html.

Typically, you just need to ensure that your /conf/tomcat-users.xml file has the following defined:

< ?xml version='1.0' encoding='utf-8'?>
< tomcat-users>
< role rolename="manager"/>
< role rolename="admin"/>
< user username="admin" password="admin" roles="admin,manager"/>
< /tomcat-users>

In this case, we will be logging in to the Tomcat Manager app using:
username admin
password admin

No comments:

Post a Comment