tomcat-users.xml

<?xml version='1.0' encoding='utf-8?>

<tomcat-users>

    <role rolename="tomcat"/>
    <role rolename="role1"/>
    <role rolename="manager"/>
    <role rolename="admin"/>
    <role rolename="admin-gui"/>
    <role rolename="admin-script"/>
    <role rolename="manager-gui"/>
    <role rolename="manager-script"/>
    <role rolename="manager-jmx"/>
    <role rolename="manager-status"/>
    <user username="tomcat" password="tomcat" roles="admin,manager,role1,tomcat,admin-gui,admin-script,manager-gui,manager-script,manager-jmx,manager-status" />

</tomcat-users>

 

Tomcat版本 信息

Server Information
Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture
Apache Tomcat/6.0.18 1.6.0_03-b05 Sun Microsystems Inc. Windows XP 5.1 x86

 

进入tomcat管理项目页面

http://localhost:8080/manager/html

 

用户名/密码   tomcat/tomcat




ThreadInfo: tomcat 中线程池信息
Max threads:     线程池最大可以产生的线程数
MinSpareThreads: 线程池最小空闲的线程数
MaxSpareThreads: 线程池最大空闲的线程数
Current thread count: 当前线程池的线程数
Current thread busy:  你访问服务器这个点处于busy状态的线程

RequestInfo: 请求的统计信息
Max processing time: 单个请求的最大处理时间
Processing time:  请求总的处理时间
Bytes received:  收到的字节数
Bytes sent: 发送的字节数
Request count: 总请求数
Error count: 发生错误的请求数

Tomcat6.0.18 部署时无法访问管理界面401 Unauthorized