You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2008/09/22 11:06:44 UTC

[jira] Resolved: (JCR-1703) Oracle JNDI DataSource support

     [ https://issues.apache.org/jira/browse/JCR-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller resolved JCR-1703.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

Committed in revision 697717 (trunk).
I'm not sure if it should be applied to 1.4.6 as well.

> Oracle JNDI DataSource support
> ------------------------------
>
>                 Key: JCR-1703
>                 URL: https://issues.apache.org/jira/browse/JCR-1703
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: core 1.4.5
>            Reporter: Stephane Landelle
>            Assignee: Thomas Mueller
>             Fix For: 1.5
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> When org.apache.jackrabbit.core.persistence.bundle.util.ConnectionFactory tries to get a connection from a JNDI Datasource without login and pasword, if no user/password are specified, they re retrieved as empty strings, not null, so it tries to do a ds.getConnection(user, password), which fails. Please complete the test line 66 as :
> if ((user == null || user.length() > 0) && (password == null || password.length() > 0)) {
> Sincerely,
> Stéphane Landelle

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