db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayaram Subramanian <rsjay1...@gmail.com>
Subject Re: Derby 4616-Error when working SysinfoTest.policy files
Date Wed, 26 May 2010 00:59:34 GMT
Hi,
Actually it was typo in the email. In the policy file i had  the  "" ,
but the java on sysinfotest was giving the error and even when takng
java.home out from policy file  error continues to occur.

With Regards
Jayaram

On Tue, May 25, 2010 at 8:43 PM, Kathey Marsden
<kmarsdenderby@sbcglobal.net> wrote:
> On 5/25/2010 5:34 PM, Jayaram Subramanian wrote:
>>
>> Hi
>> While working on Derby  4616 (SysinfoTest prints permission errors
>> when printing sysinfo ) I added  the following to the SyInfoTest
>> policy file
>>
>> permission java.util.PropertyPermission "user.dir", "read";
>>  permission java.util.PropertyPermission "user.home", "read";
>>  permission java.util.PropertyPermission "user.name", "read";
>>
>> But still the sysinfo started printing  error on "java.home" read ..
>> So i added   permission java.util.PropertyPermission "java.home",read;
>> in the policy file.
>>
>>
>
> I think the problem might be that there are missing double quotes around
>  'read'  in your new line.
> The policy file won't parse so you have the terrible errors.
>
>
>

Mime
View raw message