Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 15640 invoked from network); 10 Sep 2006 14:38:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Sep 2006 14:38:44 -0000 Received: (qmail 32116 invoked by uid 500); 10 Sep 2006 14:38:44 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 31908 invoked by uid 500); 10 Sep 2006 14:38:43 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 31899 invoked by uid 99); 10 Sep 2006 14:38:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Sep 2006 07:38:43 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of m.v.lunteren@gmail.com designates 66.249.82.237 as permitted sender) Received: from [66.249.82.237] (HELO wx-out-0506.google.com) (66.249.82.237) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Sep 2006 07:38:41 -0700 Received: by wx-out-0506.google.com with SMTP id i27so1286365wxd for ; Sun, 10 Sep 2006 07:38:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AjHmUNbY/xs3vmhdqNBRhNxC+mqS6S2G+QmBOqNWCgjaPjreNSa44WTiNBkNWWf5vE2qSP4u79C3O9PmijnGUM4xQj3YVtJnrWDTl3WL1KDTY0K+LkrWfwbKsR6c87RH81q/BNfvsCYeaXsVq+dHO9xaJvY1rI1lhAeVEr6jeAM= Received: by 10.90.117.15 with SMTP id p15mr1315980agc; Sun, 10 Sep 2006 07:38:20 -0700 (PDT) Received: by 10.90.93.11 with HTTP; Sun, 10 Sep 2006 07:38:20 -0700 (PDT) Message-ID: Date: Sun, 10 Sep 2006 07:38:20 -0700 From: "Myrna van Lunteren" To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath In-Reply-To: <22282523.1157837062816.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <24911729.1157700682333.JavaMail.jira@brutus> <22282523.1157837062816.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/9/06, Knut Anders Hatlen (JIRA) wrote: > [ http://issues.apache.org/jira/browse/DERBY-1832?page=comments#action_12433648 ] > > Knut Anders Hatlen commented on DERBY-1832: > ------------------------------------------- > > There are two ways to grant derbyclient.jar more access (it needs java.util.PropertyPermission and java.io.FilePermission): > > a) Adding the permissions in derby_tests.policy. > b) Adding the permissions to sysinfo.policy and sysinfo_withproperties.policy. > > Which of them is the best way? All of these files currently contain sysinfo-specific permissions, so I'm not sure which to choose. > > Thanks. > I don't know if this helps, but if I remember correctly, the 'sysinfo' permissions left in derby_tests.policy are there because someone still got an error after I put in the harness code for test-specific properties and tried to move them to sysinfo*.policy files. I could never duplicate it that problem, nor understand it. The best place for sysinfo specific permissions would be in the sysinfo*.policy files, I think. Myrna