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

Stephan Schrader zstephanz at gmail.com
Tue Dec 4 20:27:35 CET 2018


Hi Paul,

maybe this helps you:
https://gist.github.com/StephanSchrader/a26f2f80d876e9d052f6

Stephan

Am Fr., 23. Nov. 2018 um 04:02 Uhr schrieb Paul Edison <
paul.finnedison at outlook.com>:

> 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
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20181204/599b41bb/attachment.htm>


More information about the opencms-dev mailing list