// Give all permission to servlets-cgi.jar grant codeBase "file:${catalina.home}/server/lib/servlets-cgi.jar" { permission java.security.AllPermission; };
If it works then try to only give the socket permission. If you are not running with a Security Manager, then it's a permission/group OS setting.
--Jeanfrancois
Joao Machado wrote:
Hi all,
I'm trying to execute a CGI script and this Script tries to connect with a database opening a socket to it. This raises a problem that this script can't do this (permission?). I found in the mail archive someone with the same problem but I didn't found an answer. Anyone has solved this issue ?
Thanks in advance,
Joao Machado
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]