[opencms-dev] Use JDBC/Data Source with OpenCMS in opencms.properties file?

paul.finnedison at outlook.com paul.finnedison at outlook.com
Thu May 5 11:35:45 CEST 2022


Hi all,

I'm wondering if it is possible to configure OpenCMS via the opencms.properties file, to use a JDBC data source, instead of providing username and password there.

# currently it is looking like this.
db.pool.default.jdbcDriver=oracle.jdbc.driver.OracleDriver
db.pool.default.jdbcUrl=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=dbservice)))
db.pool.default.user=opencms_db_user
db.pool.default.password=opencms_db_password

But as OpenCMS is deployed in an application server (Weblogic) I'd like to use the datasources.
Is there a way to do so?

Kind regards,
Paul​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220505/47d87af4/attachment.htm>


More information about the opencms-dev mailing list