[How To] Automatically start Tomcat Service on boot in RHEL/CentOS/Ubuntu


The Apache Tomcat is widely use in the Application servers. Sometimes, naive users are not aware of starting/stopping tomcat service. Also, Apache Tomcat service auto start is required in case of server reboot. To achieve this, Apache Tomcat should be added in the desired runlevel with a script, as explained in the below steps. 1) Create script name tomcat containing …

Read More »

Tomcat manager login details

To reset Tomcat manager password, follow simple steps. 1) Got to the apache-tomcat directory and open file following in your favorite editor cd /usr/local/apache-tomcat-6.0.20/conf/ vi tomcat-users.xml Part of file contents before update. <tomcat-users> <!-- <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> --> </tomcat-users> Now , update the file as follows <tomcat-users> …

Read More »