Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A04511738 for ; Mon, 25 Aug 2014 17:48:59 +0000 (UTC) Received: (qmail 61031 invoked by uid 500); 25 Aug 2014 17:48:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 61004 invoked by uid 500); 25 Aug 2014 17:48:59 -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 60993 invoked by uid 99); 25 Aug 2014 17:48:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2014 17:48:59 +0000 Date: Mon, 25 Aug 2014 17:48:59 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6680) Other jar files may need to be granted permission to read derby.ui.* properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109383#comment-14109383 ] ASF subversion and git services commented on DERBY-6680: -------------------------------------------------------- Commit 1620389 from [~dagw] in branch 'code/branches/10.11' [ https://svn.apache.org/r1620389 ] DERBY-6680 Other jar files may need to be granted permission to read derby.ui.* properties Backported from trunk at svn 1620378. derby-6680-2. This patch moves the reading of the two system properties up into NetworkServerControlImpl. Other usage of LocalizedResource is unaffected and might still try to read those system properties, i.e. as called from ij. This side-steps the problem so no further permissions need be granted. Removes the note about LocalizedResource in the policy template file. > Other jar files may need to be granted permission to read derby.ui.* properties > ------------------------------------------------------------------------------- > > Key: DERBY-6680 > URL: https://issues.apache.org/jira/browse/DERBY-6680 > Project: Derby > Issue Type: Bug > Affects Versions: 10.11.1.1 > Reporter: Rick Hillegas > Assignee: Dag H. Wanvik > Fix For: 10.11.1.2, 10.12.0.0 > > Attachments: derby-6680-2.diff, derby-6680-2b.diff, derby-6680.diff, derby-6680b.diff > > > The following properties may be read by LocalizedResource, a class which is included in derby.jar, derbynet.jar, derbyclient.jar, and derbytools.jar: > {noformat} > derby.ui.codeset > derby.ui.locale > {noformat} > A user has tripped across this problem in production. With the user's language settings, the network server fails to come up because the server policy file does not grant the server permission to read these properties. See http://apache-database.10148.n7.nabble.com/Hellow-I-have-some-problem-in-customize-security-policy-with-derby-modified-3-td141002.html > We should adjust server.policy and template.policy accordingly. -- This message was sent by Atlassian JIRA (v6.2#6252)