Hi Everybody,
I am trying to turn on the invoker servlet on Tomcat 6.0.13. I have
tried uncommenting invoker servlet mapping
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
AND
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
After uncommenting, the container/browser does not give error "HTTP
Status 404 - requested resource is not avaliable". But it does not
show the results.
Is there any way it can be fixed? It's time consuming to make changes
in web.xml everytime to add a servlet.
Thank you for your help.
Manish Pandit - 01 Aug 2007 17:59 GMT
> Hi Everybody,
>
[quoted text clipped - 30 lines]
>
> Thank you for your help.
Hi,
You also need to turn on privileged in context.xml's context element.
$TOMCAT_HOME/conf/context.xml, replace <Context> with <Context
privileged="true">.
Bounce and see if it works. If it does not, add reloadable="true" in
the above element as well.
-cheers,
Manish