Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use variables in confluence.cfg.xml?

Tom Jackson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2015

I would like to use a variable for my DB name. In other config files (e.g. server.xml) you can use JVM variables (JAVA_OPTS) to parameterize settings. Is the same thing possible with confluence.cfg.xml? I've tried to use the usual ${variable.name} template pattern to no avail.

1 answer

0 votes
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2015

No. But you can set up the reference to the database as a jndi configuration which you can then configure in the server.xml .

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events