tomcat監控工具probe


  1. probe官網:http://www.lambdaprobe.org/
    但是已經鏈接至github了:https://github.com/psi-probe/psi-probe

  2. 下載psi-probe-web-3.1.0.war

  3. tomcat配置./conf/user.xml

     <role rolename="manager-gui "/>
    
     <!-- 用戶設置密碼、角色 -->
     <user username="admin" password="admin" roles="manager-gui"/>
    

    下面這些配置也是必須的,否則上面設置的用戶無法登陸
    ./conf/server.xml的Server/GlobalNamingResources下

     <!-- Global JNDI resources
        Documentation at /docs/jndi-resources-howto.html
     -->
     <GlobalNamingResources>
         <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
         -->
         <Resource name="UserDatabase" auth="Container"
                 type="org.apache.catalina.UserDatabase"
                 description="User database that can be updated and saved"
                 factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                 pathname="conf/tomcat-users.xml" />
     </GlobalNamingResources>
    

    ./conf/server.xml的Server/Service/Engine下

     <!-- Use the LockOutRealm to prevent attempts to guess user passwords
            via a brute-force attack -->
     <Realm className="org.apache.catalina.realm.LockOutRealm">
     <!-- This Realm uses the UserDatabase configured in the global JNDI
             resources under the key "UserDatabase".  Any edits
             that are performed against this UserDatabase are immediately
             available for use by the Realm.  -->
     <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase"/>
     </Realm>
    
  4. 部署war包

  5. 安裝官方文檔:
    https://github.com/psi-probe/psi-probe/wiki/InstallationApacheTomcat

  6. 角色及支持的特性信
    https://github.com/psi-probe/psi-probe/wiki/Features#features-by-role


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM