It is possible to install the connector within an existing CQ5 instance, enabling for example an existing application to access the database.
Installing the connector in a CQ5 instance consists in extracting the relevant files from the connector package and installing them into the existing CQ5 instance, configuring the connector, and configuring Sling. Proceed as follows:
- Unpack the connector jar file: start the jar file from the command line with the option -unpack; for example: java -jar crx2jdbc-quickstart.jar -unpack
- Acquire the content package crx2jdbc-initial-content located on your file system at <connector-install-dir>/crx-quickstart/repository/install
- Install the crx2jdbc-initial-content content package on the existing CQ5 server by using the Package Manager.
- In the Felix console, in the Configuration tab (for example at http://localhost:4502/system/console/configMgr), select the Day JCR Connector for JDBC. Set the URL of the database server and click Save.

- Create a CQ5 user with the same credentials as a database user.
- In the Felix console, in the Configuration tab, select the Apache Sling Request Authenticator configuration and switch off the Anonymous Access. Click Save.
- Stop the CQ5 server.
- Restart the CQ5 server.
sling.bootdelegation.oracle.driver=oracle.jdbc.driver
For 5.3, "boot.delegation" has to be changed to system.packages, e.g.
sling.system.packages.oracle.driver=oracle.jdbc.driver
If the JDBC driver is used by a bundle, which does *not* import the JDBC driver package, then bootdelegation is required.
When using system packages, the driver is added to the exports of the system bundle and can only be used with imports.
If the bundle does import the JDBC driver package, it must be added to the system packages instead of bootdelegation.
Assuming that the bundle using JDBC (the DB pool bundle) does not actually import the JDBC package then bootdelegation is correct.
Forgotten your password? Reset the password here.
Note: Customers with DayCare user accounts need to create a new account for use on day.com.