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 "Knut Anders Hatlen (JIRA)" <de...@db.apache.org> on 2006/09/08 09:31:22 UTC

[jira] Created: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
--------------------------------------------------------------------------------------------------------------------------------------

                 Key: DERBY-1832
                 URL: http://issues.apache.org/jira/browse/DERBY-1832
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure
    Affects Versions: 10.2.1.0
            Reporter: Knut Anders Hatlen
            Priority: Minor
             Fix For: 10.2.1.0


Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:

 ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
*** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
14a15
> Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
17,26d17
< 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]
41a33
> Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
44,53d35
< 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]
69a52
> Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
72,81d54
< 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

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

Posted by Knut Anders Hatlen <Kn...@Sun.COM>.
Myrna van Lunteren <m....@gmail.com> writes:

> 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.

Thanks Myrna, that sounds like the best option to me too.

-- 
Knut Anders

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

Posted by Myrna van Lunteren <m....@gmail.com>.
On 9/9/06, Knut Anders Hatlen (JIRA) <de...@db.apache.org> 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

[jira] Commented: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Bryan Pendleton (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1832?page=comments#action_12433889 ] 
            
Bryan Pendleton commented on DERBY-1832:
----------------------------------------

+1 to fixing this in the sysinfo-specific property files, as you did in 1832.diff.

> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>         Attachments: 1832.diff, 1832.stat
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Commented: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1832?page=comments#action_12433349 ] 
            
Knut Anders Hatlen commented on DERBY-1832:
-------------------------------------------

The sysinfo classes are included in derbyclient.jar. Should they be? If they should, we need to grant derbyclient.jar permission to read the classpath.

> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Closed: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1832?page=all ]

Knut Anders Hatlen closed DERBY-1832.
-------------------------------------


> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0, 10.3.0.0
>
>         Attachments: 1832.diff, 1832.stat
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Commented: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1832?page=comments#action_12434068 ] 
            
Knut Anders Hatlen commented on DERBY-1832:
-------------------------------------------

Thanks Bryan!
Committed revision 442464. Leaving the issue open until the fix has been merged to 10.2.

> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>         Attachments: 1832.diff, 1832.stat
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Assigned: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1832?page=all ]

Knut Anders Hatlen reassigned DERBY-1832:
-----------------------------------------

    Assignee: Knut Anders Hatlen

> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Commented: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Bryan Pendleton (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1832?page=comments#action_12433408 ] 
            
Bryan Pendleton commented on DERBY-1832:
----------------------------------------

DERBY-1470 is the relevant JIRA issue.

> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Commented: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
    [ 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.

> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Updated: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1832?page=all ]

Knut Anders Hatlen updated DERBY-1832:
--------------------------------------

    Attachment: 1832.diff
                1832.stat

The attached patch grants derbyclient.jar the permissions needed to run sysinfo and sysinfo_withproperties. With this patch, I have successfully run derbyall with derbyclient.jar as the first element of the classpath.

> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>         Attachments: 1832.diff, 1832.stat
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Commented: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Bryan Pendleton (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1832?page=comments#action_12433407 ] 
            
Bryan Pendleton commented on DERBY-1832:
----------------------------------------

The sysinfo code was recently added to derbyclient.jar. I think it was within the last 6 weeks
or so. I searched JIRA but can't find the relevant issue, sorry, but here's a pointer to the
discussion on derby-dev:
http://www.nabble.com/sysinfo-in-derbyclient.jar--%28was-Re%3A-%28DERBY-1470%29-%29-tf2070540.html#a5703831

It was an intentional change, and was done to help the scenario in which the user has only derbyclient in their classpath.

I believe that your suggested fix (granting derbyclient.jar permission to read the classpath)
is reasonable, and matches what we did to make these tests pass for sysinfo when run
from derby.jar and derbytools.jar.


> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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

        

[jira] Resolved: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1832?page=all ]

Andrew McIntyre resolved DERBY-1832.
------------------------------------

    Fix Version/s: 10.3.0.0
       Resolution: Fixed

Marking Resolved as this has been merged to 10.2.

> sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1832
>                 URL: http://issues.apache.org/jira/browse/DERBY-1832
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0, 10.3.0.0
>
>         Attachments: 1832.diff, 1832.stat
>
>
> Seen on Linux and Solaris, with Sun JVM 1.4, 1.5, 1.6 when derbyclient.jar is first in classpath:
>  ********* Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/sysinfo.diff
> *** Start: sysinfo jdk1.4.2_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:54 ***
> 14a15
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 17,26d17
> < 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]
> 41a33
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 44,53d35
> < 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]
> 69a52
> > Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read)
> 72,81d54
> < 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_02 DerbyNet derbynetmats:derbynetmats 2006-09-05 08:44:59 ***

-- 
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