Mantis - Resin
Viewing Issue Advanced Details
3944 major always 03-14-10 14:23 03-26-10 14:45
posenato  
ferg Linux  
normal  
closed 4.0.5  
unable to reproduce  
none    
none 4.0.6  
0003944: 'plugin_match' doesn't work
Any servlet mapping that uses the 'special' 'plugin_match' name doesn't work.

The reported error is:
[2010-03-14 22:15:02] WARNING WebApp.buildInvocation: com.caucho.server.dispatch.ServletConfigException: 'plugin_match' is not a known servlet. Servlets must be defined by <servlet> before being used.
at com.caucho.server.dispatch.ServletManager.createServletChain(ServletManager.java:251)
at com.caucho.server.dispatch.ServletMapper.mapServlet(ServletMapper.java:379)
at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:3189)
...
Put any servlet declaration like this:

<servlet-mapping url-pattern='/*' servlet-name='plugin_match'/>

Notes
(0004489)
ferg   
03-26-10 14:45   
server/13fc

Tested with a default web-app with the following WEB-INF/resin-web.xml

<web-app xmlns="http://caucho.com/ns/resin"> [^]

  <servlet-mapping url-pattern="/*" servlet-name="plugin_match"/>
  <servlet-mapping url-pattern="/test" servlet-name="plugin_match"/>
  <servlet-mapping url-pattern="/test.jsp" servlet-name="plugin_match"/>

</web-app>

Accessing /test.txt, /test, and /test.jsp all returned the normal, expected result.