db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriele Kahlout <gabri...@mysimpatico.com>
Subject Re: JNLP setup creating an apache derby db fails - versuchen01X
Date Tue, 09 Mar 2010 17:27:50 GMT
is there a link to this email conv, so that I post it to
http://forums.sun.com/thread.jspa?messageID=10947198&#10947198 ?

2010/3/9, Knut Anders Hatlen <Knut.Hatlen@sun.com>:
> Gabriele Kahlout <gabriele@mysimpatico.com> writes:
>
>> Here is only the trace:
>>
>> the most telling line should be (but I don't know what it means, and
>> how to solve it):
>>
>> Caused by: java.sql.SQLException: Java exception: 'access denied
>> (java.io.FilePermission
>> /Users/simpatico/archive/db.sqlwrapper/service.properties read):
>> java.security.AccessControlException'.
>
> It looks like Java Web Start runs the application with a security
> manager that prevents you from reading the database, so you'll probably
> need to grant some permissions to derby.jar. I don't know how to do that
> in a Java Web Start environment myself, but perhaps someone else does
> and will chime in...
>
> --
> Knut Anders
>


-- 
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).

Mime
View raw message