You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by mkcons <il...@hotmail.com> on 2018/12/04 21:30:03 UTC

Re: Configuring Sling 10 to use RDBDocumentStore with OracleDB

Hi Robert,

I don't know how your answer worked for the OP but it worked quite nicely
for me.

Just one detail, I had to add the "datasource.name" in the DataSourceFactory
configuration.

[configurations runModes=oak_db2]
  org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
    documentStoreType="RDB"

  org.apache.sling.datasource.DataSourceFactory
	url="jdbc:db2://192.168.2.3:50000/sling"
	driverClassName="com.ibm.db2.jcc.DB2Driver"
	username="****"
	password="****"
	datasource.name="oak"

Thanks,




--
Sent from: http://apache-sling.73963.n3.nabble.com/Sling-Users-f73968.html

Re: Configuring Sling 10 to use RDBDocumentStore with OracleDB

Posted by Robert Munteanu <ro...@apache.org>.
On Tue, 2018-12-04 at 14:30 -0700, mkcons wrote:
> Hi Robert,
> 
> I don't know how your answer worked for the OP but it worked quite
> nicely
> for me.
> 
> Just one detail, I had to add the "datasource.name" in the
> DataSourceFactory
> configuration.
> 
> [configurations runModes=oak_db2]
>   org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
>     documentStoreType="RDB"
> 
>   org.apache.sling.datasource.DataSourceFactory
> 	url="jdbc:db2://192.168.2.3:50000/sling"
> 	driverClassName="com.ibm.db2.jcc.DB2Driver"
> 	username="****"
> 	password="****"
> 	datasource.name="oak"

Nice, thanks for confirming that!

Robert