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
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
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
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
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
> 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
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
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
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
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
10 matches
Mail list logo