You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by NareshGanga <na...@gmail.com> on 2008/05/06 22:28:13 UTC

JNDI + BundleDbPersistenceManager

Hi , I am using BundleDbPersistenceManager to configure JNDI datasource and I
get the following exception. 
java.sql.SQLException: executeUpdate, Exception = null 
        at
weblogic.jdbc.wrapper.JDBCWrapperImpl.invocationExceptionHandler(JDBCWrapperImpl.java:141) 
        at weblogic.jdbc.wrapper.Statement.executeUpdate(Statement.java:449) 
        at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.checkSchema(BundleDbPersistenceManager.java:439) 
        at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:565). 
can some one please assist me with this problem Attached is the bundle PM
configuration. 


http://www.nabble.com/file/p17091074/jackrabbit-oracle-search.xml
jackrabbit-oracle-search.xml 


Thanks
-- 
View this message in context: http://www.nabble.com/JNDI-%2B-BundleDbPersistenceManager-tp17091074p17091074.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.


Re: JNDI + BundleDbPersistenceManager

Posted by Thomas Müller <th...@day.com>.
Hi,

Instead of using BundleDbPersistenceManager you probably need to use
the OraclePersistenceManager. Unfortunately this will not work with
JNDI at the moment (because default user name and password are used).
However you could patch the OraclePersistenceManager with the current
one from the trunk:
http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/OraclePersistenceManager.java

There is already a bug for this problem, see
https://issues.apache.org/jira/browse/JCR-1562

Regards,
Thomas