db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2040) Setting derby.database.classpath to contain installed jars causes the database to be unbootable when a Securitymanager is installed.
Date Fri, 10 Nov 2006 16:44:38 GMT
    [ http://issues.apache.org/jira/browse/DERBY-2040?page=comments#action_12448794 ] 
            
Daniel John Debrunner commented on DERBY-2040:
----------------------------------------------

    Committed revision 473387.
Create the class loaders (JarLoader instances) for database class loading within a privileged
block.

Solves the described problem but still unable to load classes from the jar files due to security
exceptions.
Need to ensure accessing the jar files from JarLoader is in a privileged block, but fix might
be different
is DERBY-538 is addressed.


> Setting derby.database.classpath to contain installed jars causes the database to be
unbootable when a Securitymanager is installed.
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2040
>                 URL: http://issues.apache.org/jira/browse/DERBY-2040
>             Project: Derby
>          Issue Type: Bug
>          Components: Security, Services
>    Affects Versions: 10.2.1.6
>            Reporter: Daniel John Debrunner
>         Assigned To: Daniel John Debrunner
>             Fix For: 10.3.0.0
>
>
> If the jars are sucessfully installed (without a security manager see DERBY-537) and
the class path set then subsequent boots with a security manager fail with a SecurityException
due to trying to install a class loader.
> Related to DERBY-537 but not the same.

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

        

Mime
View raw message