You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2008/01/21 09:58:34 UTC
[jira] Updated: (JCR-1305) JNDI data sources with
BundleDbPersistenceManager: UnsupportedOperationException
[ https://issues.apache.org/jira/browse/JCR-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-1305:
-------------------------------
Affects Version/s: 1.4
Fix Version/s: 1.4.1
Issue Type: Bug (was: Improvement)
Yes, that would be nice. I recategorized this as a bug (incorrect use of DataSource) and tagged for 1.4.1.
> JNDI data sources with BundleDbPersistenceManager: UnsupportedOperationException
> --------------------------------------------------------------------------------
>
> Key: JCR-1305
> URL: https://issues.apache.org/jira/browse/JCR-1305
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 1.4
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Minor
> Fix For: 1.4.1
>
>
> When using the org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory, the BundleDbPersistenceManager can not open a database connection via JNDI because the method DataSource.getConnection(user, password) is not supported. Instead, DataSource.getConnection() must be used for this to work.
> ConnectionFactory.getConnection should be changed to call this method if user name and password are empty.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.