Category: Tomcat

  1. Home
  2. Blog
  3. Category: Tomcat

Tomcat default administrator password

Tomcat users are defined in XML file “$TOMCAT_HOME/conf/tomcat-users.xml”. There are NO users defined by default, therefore no one can access Tomcat manager page. <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> Add below role and user to make it work. Let's Share

Continue Reading

Disable “WARNING: Parameters: Invalid chunk ignored.” messages in Tomcat log

To disable this message you need to modify logging properties file. If you have logging.properties in your tomcat/conf folder then make changes there. Otherwise modify jre’s file. Add to the end of /usr/local/java/jre/lib/logging.properties this line: org.apache.tomcat.util.http.Parameters.level = SEVERE Restart tomcat. The reason for this message is some problem with url’s parameters format, like && in the begining of parameters etc. […]

Continue Reading
Show Buttons
Hide Buttons