Advertise on warmetal.nl!
Click for more information
about advertising here.

Did you find this website useful? Did I save you a lot of time?
Please consider donating to support this site:

 

Tomcat Data

Tomcat Users

Tomcat users are defined in the tomcat-users.xml, which is located in the TOMCAT_HOME/conf directory:
  • cat tomcat-users.xml
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="tomcat"/>
  <role rolename="manager"/>
  <user username="admin" password="password" roles="tomcat,manager"/>
</tomcat-users>

Tomcat Version

Check the TOMCAT_HOME/logs/catalina.out logfile for the section below:

  • less catalina.out
May 27, 2009 10:01:42 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 27, 2009 10:01:42 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 742 ms
May 27, 2009 10:01:42 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 27, 2009 10:01:42 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
May 27, 2009 10:01:42 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 27, 2009 10:03:00 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 27, 2009 10:03:01 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 27, 2009 10:03:01 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 79086 ms

You can see the version is 5.5.26

Tomcat Ports

Ports are configured in the TOMCAT_HOME/conf/server.xml file:

  • less server.xml
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />

Discussion

Enter your comment:
 
tomcatdata.txt · Last modified: 2010/12/31 13:18 by sjoerd