You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Created) (JIRA)" <ji...@apache.org> on 2011/11/27 00:04:39 UTC

[jira] [Created] (SLING-2303) The default PersistanceManager used by sling launchpad is deprecated

The default PersistanceManager used by sling launchpad is deprecated
--------------------------------------------------------------------

                 Key: SLING-2303
                 URL: https://issues.apache.org/jira/browse/SLING-2303
             Project: Sling
          Issue Type: Improvement
          Components: JCR
    Affects Versions: JCR Jackrabbit Server 2.1.0
            Reporter: Eric Norman
            Assignee: Eric Norman
            Priority: Minor


The derby persistance manager class in the repository.xml file has been deprecated.

It should be replaced with org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SLING-2303) The default PersistanceManager used by sling launchpad is deprecated

Posted by "Eric Norman (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman resolved SLING-2303.
--------------------------------

       Resolution: Fixed
    Fix Version/s: JCR Jackrabbit Server 2.1.2

fixed in revision 1207745
                
> The default PersistanceManager used by sling launchpad is deprecated
> --------------------------------------------------------------------
>
>                 Key: SLING-2303
>                 URL: https://issues.apache.org/jira/browse/SLING-2303
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.1.0
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Minor
>             Fix For: JCR Jackrabbit Server 2.1.2
>
>         Attachments: SLING-2303.patch
>
>
> The derby persistance manager class in the repository.xml file has been deprecated.
> It should be replaced with org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SLING-2303) The default PersistanceManager used by sling launchpad is deprecated

Posted by "Eric Norman (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman updated SLING-2303:
-------------------------------

    Attachment: SLING-2303.patch

Attached potential patch.

One problem is that the new derby PM doesn't have the shudownOnClose parameter anymore.  So the change for SLING-1568 isn't possible without changing the jackrabbit code.  Is that important for anyone?
                
> The default PersistanceManager used by sling launchpad is deprecated
> --------------------------------------------------------------------
>
>                 Key: SLING-2303
>                 URL: https://issues.apache.org/jira/browse/SLING-2303
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.1.0
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Minor
>         Attachments: SLING-2303.patch
>
>
> The derby persistance manager class in the repository.xml file has been deprecated.
> It should be replaced with org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2303) The default PersistanceManager used by sling launchpad is deprecated

Posted by "Felix Meschberger (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158283#comment-13158283 ] 

Felix Meschberger commented on SLING-2303:
------------------------------------------

+1 to apply this patch.

> Is that important for anyone?

The change in SLING-1568 was to ensure Jackrabbit does not shutdown Derby because Derby is a separate bundle and cares for shutting down itself and also because in such a setup it is not Jackrabbit deciding on whether Derby is still used or not.

I would assume that for the pooling DerbyPersistenceManager, Jackrabbit just does not care about shutting Derby down or not. Otherwise I would consider this a Jackrabbit bug.
                
> The default PersistanceManager used by sling launchpad is deprecated
> --------------------------------------------------------------------
>
>                 Key: SLING-2303
>                 URL: https://issues.apache.org/jira/browse/SLING-2303
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.1.0
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Minor
>         Attachments: SLING-2303.patch
>
>
> The derby persistance manager class in the repository.xml file has been deprecated.
> It should be replaced with org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira