From users-return-192151-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Mon Feb 23 13:41:42 2009 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 77046 invoked from network); 23 Feb 2009 13:41:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2009 13:41:42 -0000 Received: (qmail 22207 invoked by uid 500); 23 Feb 2009 13:41:29 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 22078 invoked by uid 500); 23 Feb 2009 13:41:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 22063 invoked by uid 99); 23 Feb 2009 13:41:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 05:41:28 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 13:41:19 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lbb3K-0004JT-I6 for users@tomcat.apache.org; Mon, 23 Feb 2009 05:40:58 -0800 Message-ID: <22161635.post@talk.nabble.com> Date: Mon, 23 Feb 2009 05:40:58 -0800 (PST) From: "denis.r" To: users@tomcat.apache.org Subject: Enabling CGI in Tomcat 6 affect all webapps. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: denis.rachal@hp.com X-Virus-Checked: Checked by ClamAV on apache.org 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-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org