[Pljava-dev] java.lang.SecurityException: Can’t read standard JDK classes

From: johann at 2ndquadrant(dot)com (Johann 'Myrkraverk' Oskarsson)
To:
Subject: [Pljava-dev] java.lang.SecurityException: Can’t read standard JDK classes
Date: 2011-09-12 18:29:29
Message-ID: x64o0h1unq.fsf@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Larry <l.paige at live.com> writes:

> Hi, could someone please help resolve this problem.

[...]
> The exception I get is: "java.lang.SecurityException: read on
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar
>
> Any help as to how I can resolve this would be appreciated!

My first guess is that you're doing something that's forbidden with
the PL/Java security manager. Have you tried your function with
LANGUAGE JAVAU instead?

--
Johann Oskarsson http://www.2ndquadrant.com/ |[]
PostgreSQL Development, 24x7 Support, Training and Services --+--
|
Blog: http://my.opera.com/myrkraverk/blog/

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Johann 'Myrkraverk' Oskarsson 2011-09-15 20:06:31 [Pljava-dev] New Release, 1.4.3
Previous Message Larry 2011-09-12 17:42:15 [Pljava-dev] java.lang.SecurityException: Can’t read standard JDK classes