[opencms-dev] Overwriting the db.pool.default.jdbcUrl from opencms.properties on start up

Paul Edison paul.finnedison at outlook.com
Fri Nov 23 04:01:18 CET 2018


Hi,

I've got an OpenCMS 9.5 running here,
in the opencms.properties file there is the db.pool.default.jdbcUrl defined and used.

Is there a possibility to overwrite this on application startup - so that not the string form the file is used but from a jvm argument?
Or can I set the string in the properties file to define this (name of the argument)?

Or would it be possible to use a JNDI DataSource?

Kind regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20181123/5fed34f1/attachment.htm>


More information about the opencms-dev mailing list