Main Content

Invoker and cgi servlets on Tomcat 6

Archive - Originally posted on "The Horse's Mouth" - 2009-02-27 17:49:45 - Graham Ellis

If you want to use the Invoker or cgi servlets on Tomcat 6, you need to change the privileged setting in the conf/context.xml file - change:
 <Context>
to
 <Context reloadable="true" privileged="true">
If you simply uncomment the Invoker and cgi sections of the web.xml file without making these changes, you'll break Tomcat completely and even the other servlets won't work - you'll just get a blank page when you browse to the site.

There is no longer any need (as there was at Tomcat 5.5 and previously) to rename jar files for the cgi and ssi servlets to work.

[From Apache / Tomcat deployment]