views:

19

answers:

1

I'm trying to configure SSI with Apache Tomcat 6.0. Following this http://tomcat.apache.org/tomcat-6.0-doc/ssi-howto.html,
I have removed the comments aroud the ssiServlet in $CATALINA_BASE/conf/web.xml.
Also setup the previleged = "true" in context tag found in $CATALINA_BASE/conf/context.xml

After setting this up, i tried to start the server ( i havent deployed any webapplications yet) and im getting this exception -

Filter of class org.apache.catalina.ssi.SSIFilter is privileged and cannot be loaded by this web application

Am I missing something?

A: 

Firstly, is

previleged = "true"

in your question a typo? Because it should be privileged="true". Tomcat won't complain about this, but the context won't be privileged and SSI won't be allowed.

Secondly, you say you've enabled the SSI servlet, but the error refers to the SSI filter. You should be using one or the other, but not both.

Richard Fearn
Yes.That is a typo.Im using the servlet not filter.Going to try out in the earlier Tomcat version.Thanks.
Mr.Burns