You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Andrew McIntyre (JIRA)" <de...@db.apache.org> on 2006/08/01 06:54:14 UTC
[jira] Resolved: (DERBY-645) derbynet/sysinfo.java fails showing
missing locale support due to AccessControlExceptions if derbytools.jar
is before derby.jar in the classpath
[ http://issues.apache.org/jira/browse/DERBY-645?page=all ]
Andrew McIntyre resolved DERBY-645.
-----------------------------------
Resolution: Fixed
I have tested the issue described and it appears to have been fixed by a previous change.
I believe this issue has been fixed by either revision 326736 for DERBY-615 by djd, which updated the policy file to grant permissions to read all properties to derbytools.jar, or revision 390000 for DERBY-622, which added the necessary privileged blocks to sysinfo to read the locale properties files.
> derbynet/sysinfo.java fails showing missing locale support due to AccessControlExceptions if derbytools.jar is before derby.jar in the classpath
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-645
> URL: http://issues.apache.org/jira/browse/DERBY-645
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.1.2.0
> Reporter: Kathey Marsden
> Priority: Minor
> Fix For: 10.2.0.0
>
>
> derbynet/sysinfo.java will fail if derbytools.jar is before derby.jar in the classpath.
> Probably not a product issue but just an issue with derby_tests.policy not giving the needed sysinfo privs for derbytools.jar. The issue occurs with both derbynet and derbynetclient frameworks.
> THE DIFF:
> 17,26d16
> < Current Locale : [English/United States [en_US]]
> < Found support for locale: [de_DE]
> < Found support for locale: [es]
> < Found support for locale: [fr]
> < Found support for locale: [it]
> < Found support for locale: [ja_JP]
> < Found support for locale: [ko_KR]
> < Found support for locale: [pt_BR]
> < Found support for locale: [zh_CN]
> < Found support for locale: [zh_TW]
> 45,54d34
> < Current Locale : [English/United States [en_US]]
> < Found support for locale: [de_DE]
> < Found support for locale: [es]
> < Found support for locale: [fr]
> < Found support for locale: [it]
> < Found support for locale: [ja_JP]
> < Found support for locale: [ko_KR]
> < Found support for locale: [pt_BR]
> < Found support for locale: [zh_CN]
> < Found support for locale: [zh_TW]
> Test Failed.
> *** End: sysinfo jdk1.4.2_03 DerbyNetClient 2005-10-24 20:52:14 ***
> $
> Note: The AccessControl exceptions show up in the sysinfo.tmp but get filtered out of the out file.
> Java home: Security Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
> Java classpath: Security Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission java.class.path read)
> Java user name: Security Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission user.name read)
> Java user home: Security Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
> Java user dir: Security Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira