Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default username and password in Tomcat?

I installed Netbeans and tryed to access the server's manager using: (id/pass)manager/manager, admin/admin, system/password... None of them worked.

like image 916
m88 Avatar asked Sep 30 '10 09:09

m88


People also ask

How do I change the default username and password for Tomcat?

In the Services window, right-click the Ixiasoft Tomcat CCMS entry. Click Start. Edit the [CCMS Web Path]/apache-tomcat-[version]/webapps/oxygen-webapp/WEB-INF/license. properties file and update the new password.

How do I open Tomcat admin?

Access the Apache Tomcat console by browsing to http://localhost:8080/ (if installed as a non-root user) or http://localhost/ (if installed as the root user).


1 Answers

Check the file in <TOMCAT_HOME>/conf named tomcat-users.xml.
If you don't find something there edit to look something like:

<?xml version='1.0' encoding='utf-8'?> <tomcat-users>   <role rolename="admin"/>   <user username="admin" password="password" roles="standard,manager,admin"/> </tomcat-users> 
like image 129
CristiC Avatar answered Oct 03 '22 04:10

CristiC