Hi,

(Sorry I originally sent this on the [email protected] list by accident.)

The documentation for RDBDocumentStore (here: https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.html) mentions Oracle as a supported database so I've been trying to figure out how to configure Sling to use it.

The first question I have is, what versions of Oracle DB are supported/tested against?

The second question is, how do I configure a modified sling webapp war file to use Jackrabbit Oak with an Oracle DB backend?

I think I need to create an "WEB-INF/resources/config/oak_oracle/" folder inside the war file and then set "sling.run.mode.install.options=oak_oracle" in "WEB-INF/sling_install.properties" but I'm not sure what config files I need to place in the folder. The Oak documentation (https://jackrabbit.apache.org/oak/docs/osgi_config.html) only mentions how to configure DocumentNodeStoreService with a mongodb backend. Oak itself seems to support creating a DocumentNodeStore with any javax.sql.DataSource using the RDBDocumentNodeStoreBuilder including the OracleDataSource class provided by the Oracle jdbc jar.

Also, I notice the run modes as well as configuration are also specified in "WEB-INF/resources/provisioning/model.txt" but I don't know which takes precedence, the files in "WEB-INF/resources/config/oak_oracle/" or the values in "WEB-INF/resources/provisioning/model.txt" and again, I don't know what configuration to put in the model.txt.

I'd appreciate any help. Thanks a lot!

Reply via email to