[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Java servlet



Not really,
It's a java problem. There is a policy file (somewhere in the tomcat directory) which grants permission to portions of the system. Here you must grant access to the file. Small warning the system permissions should also grant permissions. Java don't overwrite the systempermissions. But these systempermissions must be granted to the user which execute the code (tomcat user) not the real user

Johan

Dave @ The Hostworks wrote:

you have to make the file writable.. its not apache no java's problem. chmod
755 <file>
----- Original Message -----
From: "Simon" <simon@xxxxxxxxxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Friday, March 28, 2003 9:12 AM
Subject: [cobalt-developers] Java servlet


Chaps,

I am a relative newbie using the Raq550, and have a problem.

This is :- I am using a java servlet which needs to read a file,
I keep getting
javax.servlet.ServletException: access denied (java.io.FilePermission
on the file, even though the operating system perms are set OK,

Does anyone have an idea of where I should look for the answer, is it a
Java
or Apache config problem

Simon

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers



_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers




--
Nilling Software Design
Postbus 43
2280 AA  Rijswijk ZH
w: http://www.nilling.nl