当前位置: 首页 > resin > 正文

set resin-status in resin’s config

resin3.1.3,follow the setting from the internet, add this line in web.xml

      <servlet-mapping servlet-class=’com.caucho.servlets.ResinStatusServlet’>
        <url-pattern>/resin-status</url-pattern>
        <init enable=”read”/>
      </servlet-mapping>

I got a error, can’t start up the resin3.1.3 in linux.

Find this info in the  resin’s website i add this in the 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/*”/>
        <ip-constraint>
          <allow>127.0.0.1/32</allow>
        </ip-constraint>
      </security-constraint>

</web-app-default>

###############################

 <allow>127.0.0.1/32</allow>  is the IP you allow to visit resin-status’s manage page.

 

本文固定链接: https://www.2hei.net/2008/02/01/set_resinstatus_in_resins_conf/ | 2hei.net

该日志由 u2 于2008年02月01日发表在 resin 分类下,
原创文章转载请注明: set resin-status in resin’s config | 2hei.net
关键字: ,

报歉!评论已关闭.