public inbox for [email protected]
help / color / mirror / Atom feedSubject: [Pljava-dev] cannot set the classpath to a specific jar to get anexternal connection
Date: Thu, 3 Jun 2010 15:43:21 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<8661B041D452404E8088FBD47D2443BE019EC515@NDCEXCUS703.int.asurion.com>
<[email protected]>
On Thursday 03 June 2010 03:39:14 pm Luca Ferrari's cat walking on the
keyboard wrote:
> java.lang.NoClassDefFoundError: Could not initialize class
> sun.security.provider.NativePRNG
I've noted that when the function is called the first time the logs are
differents and provide the following stacktrace:
Caused by: java.lang.SecurityException: read on /dev/random
at
org.postgresql.pljava.internal.Backend$1.assertPermission(Backend.java:176)
at
org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.nonRecursiveCheck(Backend.java:111)
at
org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.checkPermission(Backend.java:89)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.File.exists(File.java:731)
at sun.security.provider.NativePRNG$1.run(NativePRNG.java:60)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.provider.NativePRNG.initIO(NativePRNG.java:57)
at sun.security.provider.NativePRNG.<clinit>(NativePRNG.java:54)
... 31 more
2010-06-03 15:39:43 CEST ERROR: java.lang.ExceptionInInitializerError
so it seems a problem of reading /dev/random, even if the user has the
permissions:
$ ls -l /dev/random
crw-rw-rw- 1 root root 1, 8 2010-06-03 15:31 /dev/random
Any idea?
Thanks,
Luca
view thread (8+ messages) latest in thread
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: [email protected]
Subject: Re: [Pljava-dev] cannot set the classpath to a specific jar to get anexternal connection
In-Reply-To: <[email protected]>
* 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