agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] java.lang.SecurityException: Can’t read standard JDK classes
Date: Mon, 12 Sep 2011 18:29:29 +0000
Message-ID: <x64o0h1unq.fsf@2ndquadrant.com> (raw)
In-Reply-To: <1315849335169-4795068.post@n5.nabble.com>
References: <1315849335169-4795068.post@n5.nabble.com>

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/





view thread (2+ messages)

Message-ID: <x64o0h1unq.fsf@2ndquadrant.com>
Permalink:  ../x64o0h1unq.fsf@2ndquadrant.com/
Also on:    postgresql.org/message-id/x64o0h1unq.fsf@2ndquadrant.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] java.lang.SecurityException: Can’t read standard JDK classes
  In-Reply-To: <x64o0h1unq.fsf@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox