The first question I have is, what versions of Oracle DB are
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
"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.
Then need to add another run mode which configures the Oracle DB for
persistence. I have not tried this at all, so it might simply blow up,
but I hope it's at least a step in the right direction
diff --git a/src/main/provisioning/boot.txt b/src/main/provisioning/boot.txt
index fc31337..1253c17 100644
@@ -25,7 +25,7 @@
# oak_tar and oak_mongo run modes are mutually exclusive,
# and cannot be changed after the first startup
Re: Configuring Sling 10 to use RDBDocumentStore with OracleDB
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
> for me.
> Just one detail, I had to add the "datasource.name" in the
> [configurations runModes=oak_db2]