Hi,

I followed the instructions on how to enable CGIs in Tomcat 6 found at:
http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html . This works fine for
my webapp that has a CGI, but unfortunately it affects ALL my webapps within
the container. Even those that don't have CGIs. The webapps that don't have
CGIs now get errors claiming they must set privileged in order to use
CGIServlet, even though they aren't using CGIServlet. Is there any way to
turn this on just for the webapp using CGIs? See error message below:

SEVERE: Error deploying web application directory ROOT
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.CGIServlet is privileged and cannot be loaded
by this web application
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1145)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
        ...

Denis
-- 
View this message in context: 
http://www.nabble.com/Enabling-CGI-in-Tomcat-6-affect-all-webapps.-tp22161635p22161635.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to