jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1138) Data store garbage collection
Date Fri, 21 Sep 2007 08:49:50 GMT

    [ https://issues.apache.org/jira/browse/JCR-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529345

Thomas Mueller commented on JCR-1138:

If that's OK with you, I will make it throw a RepositoryException if the database driver could
not be loaded or initialized (ExceptionInInitializerError):

    private void setupConnection() throws SQLException, RepositoryException {
        try {
            Class driverClass = Class.forName(driver);
            // Workaround for Apache Derby:
            // The JDBC specification recommends the Class.ForName method without the .newInstance()
method call, 
            // but adding the newInstance() guarantees that Derby will be booted on any Java
Virtual Machine.
        } catch (Throwable e) {
            throw new RepositoryException("Could not load or initialize the database driver
class " + driver, e);

> Data store garbage collection
> -----------------------------
>                 Key: JCR-1138
>                 URL: https://issues.apache.org/jira/browse/JCR-1138
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
> Currently the data store garbage collection needs to be run manually. It should be simpler
to use (maybe tool based), or automatic.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message