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
最活跃的读者