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 Context by Context privileged=true
In Response To:
Hi all,
I'm using CGI servlet in Tomcat 5 without any
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 it where exactly? In $CATALINA_HOME/conf
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
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:
?xml version=1.0 encoding=UTF-8?
Context privileged=true /
See the manager application for an
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 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 CGI servlet in
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 this
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