resin监控配置

resin版本3.1.x

resin.conf
在<web-app-default>下面增加:
   
    <servlet-mapping servlet-class='com.caucho.servlets.ResinStatusServlet'>
      <url-pattern>/resin-status</url-pattern>
      <init enable="read"/>
    </servlet-mapping>
    <security-constraint>
      <web-resource-collection url-pattern="/resin-status/*"/>
    </security-constraint>




用http://yourapp/resin-status来查看Resin 运行状态监控


你可能感兴趣的:(java)