Re: CGIServlet in Tomcat 6

2008-09-10 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User In order to add privileged="true" property simply edit $CATALINA_HOME/conf/context.xml replace tag by In Response To: Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get

Re: CGIServlet in Tomcat 6

2008-08-13 Thread Konstantin Kolinko
2008/8/13 Mark Thomas <[EMAIL PROTECTED]>: > > The privileged attribute needs to be set on the context. > In your own web application create a file, META-INF/context.xml, with the following content: See the manager application for an example. Then redeploy your application, and it should work

Re: CGIServlet in Tomcat 6

2008-08-13 Thread Mark Thomas
Martin Gainty wrote: grant tomcat access to CGIServlet.jar edit $TOMCAT_HOME/conf/catalina.policy grant codeBase "file:${catalina.home}/webapps/YourWebApp/WEB-INF/lib/CGIServlet.jar" { permission java.security.AllPermission; }; HTH That won't help at all. The CGIServlet bypasses the s

RE: CGIServlet in Tomcat 6

2008-08-13 Thread Martin Gainty
contained within this transmission. > Date: Tue, 12 Aug 2008 14:32:50 -0500 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: CGIServlet in Tomcat 6 > > See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf > of a User > > Add

Re: CGIServlet in Tomcat 6

2008-08-12 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Add it where exactly? In $CATALINA_HOME/conf/context.xml? In $CATALINA_HOME/conf/server.xml? Please provide the exact path and a snippet of the code... In Response To: Hi all, I'm using CGI servlet in

Re: CGIServlet in Tomcat 6

2008-03-14 Thread rachmat
> See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on > behalf of a User > > Sorry for a kind of a necropost, but is't enough to add privileged="true" > to the root tag of main context.xml which is in > $CATALINA_HOME/conf/context.xml > > In Response To: > > Hi all, > > I'm using C

Re: CGIServlet in Tomcat 6

2008-03-13 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Sorry for a kind of a necropost, but is't enough to add privileged="true" to the root tag of main context.xml which is in $CATALINA_HOME/conf/context.xml In Response To: Hi all, I'm using CGI servlet in Tom

Re: CGIServlet in Tomcat 6

2007-01-23 Thread Yannick Haudry
ok, now it works ! thanks for your answer Martin Yannick On 1/23/07, Martin Dubuc <[EMAIL PROTECTED]> wrote: Not sure if this is all that is required, but in the Context section of the webapp context.xml file, you need to add privileged=true property. Martin On 1/23/07, Yannick Haudry <[EMAIL

Re: CGIServlet in Tomcat 6

2007-01-23 Thread Martin Dubuc
Not sure if this is all that is required, but in the Context section of the webapp context.xml file, you need to add privileged=true property. Martin On 1/23/07, Yannick Haudry <[EMAIL PROTECTED]> wrote: Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get thi

CGIServlet in Tomcat 6

2007-01-23 Thread Yannick Haudry
Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get this error when deploying my web application: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.CGIServlet is privileged and cannot be loaded by this web application In Tomcat 6, I no