Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Specifying Openfire database properties in Java command line

$
0
0

Hi All,

I would like to know if there's a way to provide database properties on the java command line when launching Openfire. Database properties are usually specified in conf/openfire.xml, but I have a need to override what's in there at the time of launching Openfire.

 

For example, I set the OPENFIRE_OPTS environment variable as shown below, and then started Openfire. However, it does not seem to picking up this property.

 

export OPENFIRE_OPTS="-Ddatabase.defaultProvider.serverURL=jdbc:mysql://192.168.4.1:33 06/openfire4"

 

Does anyone know if Openfire supports this mechanism for database properties or they should be always be given in conf/openfire.xml?

 

Cheers,

Luki


Viewing all articles
Browse latest Browse all 4979

Trending Articles