Home Guides Glossary

Changing Your Tomcat Login Credentials

After installing Tomcat on your server, you need to change the credentials to log in to Tomcat Manager. If you dont, you'll receive a "Connection Time Out" error when trying to log in to Tomcat.

To Change Your Tomcat Login Credentials

  1. Open the tomcat-users.xml file in a text editor. Its location depends on your server's operating system:
    Operating System Path to File
    Linux /usr/local/easy/etc/easy-tomcat7/tomcat-users.xml
    /usr/apache-tomcat-7.0.42/conf/tomcat-users.xml
    Windows C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\conf\tomcat-users.xml
  2. Locate the following section:
    <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"/>
  3. For the users tomcat, both, and role1, enter a new password instead of tomcat.
  4. Save the file.
  5. Log in to Tomcat (http://your server's IP address:8080/manager/) using your newly defined password.

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites. We fix hacks to help prevent attacks.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2022. All rights reserved. Privacy Policy