agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feed[Pljava-dev] SecurityException read file
3+ messages / 0 participants
[nested] [flat]
* [Pljava-dev] SecurityException read file
@ 2005-04-20 10:10
0 siblings, 1 reply; 3+ messages in thread
From: @ 2005-04-20 10:10 UTC (permalink / raw)
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20050420/42ebbeff/attachment.html;
^ permalink raw reply [nested|flat] 3+ messages in thread
* [Pljava-dev] SecurityException read file
@ 2005-04-20 10:13
parent:
0 siblings, 1 reply; 3+ messages in thread
From: @ 2005-04-20 10:13 UTC (permalink / raw)
Jordi Marqu?s wrote:
> I need read file into pljava trigger, but when I read the file I
> obtain the following error:
>
> java.lang.SecurityException: read on C:\postgresql\test.txt
>
> Somebody knows the solution
>
> Thank you very much
As most of the PostgreSQL PL's, PL/Java comes with two language
handlers, a "java" and a "javaU". The former is "trusted" and will not
permit your functions access to the file system. You need to use
LANGUAGE javaU in your function declaration.
Regards,
Thomas Hallgren
^ permalink raw reply [nested|flat] 3+ messages in thread
* [Pljava-dev] SecurityException read file
@ 2005-04-20 10:27
parent:
0 siblings, 0 replies; 3+ messages in thread
From: @ 2005-04-20 10:27 UTC (permalink / raw)
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20050420/5daff885/attachment.html;
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-04-20 10:27 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-20 10:10 [Pljava-dev] SecurityException read file
2005-04-20 10:13 `
2005-04-20 10:27 `
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox