Thursday, February 3, 2011

Tomcat manager console

we do discuss about tomcat manager console login :

we do for tomcat server installation, while installing it, i will ask us to give userName/password, though that we can access tomcat manager console.

where as, when we go for tomcat.zip, it won't ask for manager userName/pwd or so.
after unzipping tomcat.zip.
we need to set
JAVA_HOME=%{where our JAVA JDK s/w installed(reside)}%
CATALINA_HOME=%{where our Tomcat s/w unzip/installed(reside)}%
done.
now, when we try to access manager's console, then we need to edit %{CATALINA_HOME}%\conf\tomcat-users.xml

edit tomcat-users.xml :

if you already started tomcat server, shutdown server before edit



and save it.done.

now, run startup.bat
goto http://localhost:8080/
click on 'Tomcat Manager'
it will ask for userName/pwd, provide your specific details.

done.

No comments: