Hi,
What version of Jackrabbit do you use? This should be supported in
Jackrabbit 1.3.x, but I'm not sure which version exactly (see
https://issues.apache.org/jira/browse/JCR-948 )
Is weblogic.jndi.WLInitialContextFactory a javax.naming.Context? The
check made in Jackrabbit (version 1.5 is:
Class d = Class.forName(driver);
if (javax.naming.Context.class.isAssignableFrom(d)) {
// JNDI context
...
} else {
// JDBC driver
}
Regards,
Thomas
On Mon, Mar 2, 2009 at 11:37 PM, SalmasCM <[email protected]> wrote:
>
> Sorry, I didn't escape things properly so some stuff was missing in my
> original post.
>
>
> I am trying to use the bundle PM with a datasource that I have setup in
> Weblogic
>
> Things work fine with the JNDI PM
>
> <PersistenceManager
> class="org.apache.jackrabbit.core.persistence.db.JNDIDatabasePersistenceManager">
> <param name="dataSourceLocation" value="/MY_DS" />
> <param name="schema" value="mssql" />
> <param name="externalBLOBs" value="false" />
> </PersistenceManager>
>
> However, when I try to use the bundle PM (I'm using the WL context factory
> otherwise the datasource isn't found at all)
>
> <PersistenceManager
> class="org.apache.jackrabbit.core.persistence.bundle.MSSqlPersistenceManager">
> <param name="driver" value="weblogic.jndi.WLInitialContextFactory"
> />
> <param name="url" value="jdbc/MY_DS" />
> <param name="schema" value="mssql" />
> </PersistenceManager>
>
>
> and I get an exception with "no suitable driver" . It's definitely getting
> to the bundle PM but the bundle PM doesn't seem to know how to create a db
> connection from the datasource. Any ideas? I'd like to combine the
> connection pooling of weblogic with the speed of the bundle PM.
>
>
> --
> View this message in context:
> http://www.nabble.com/WebLogic-JNDI-and-MSSQL-Bundle-PM-tp22298319p22298448.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>