当前位置: 首页 > 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.

 

本文固定链接: http://2hei.net/set_resinstatus_in_resins_conf.html | 2hei's site

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

报歉!评论已关闭.