Mirroring for Openfire DB

I need to enabled mirroring for openfire database. For this purpose I created a wrapper and trying to give the connection provider details in Openfire.xml file, something like:
com.xyzCompany.tool.database.​DBMirrorAwareMSSQLConnectionProvider

But when i restart the Openfire service, the openfire.xml is getting reverted to original connection provider org.jivesofteare.database.defaultconnectionprovider.

Any inputs why the config is getting overwritten/reverted upon service restart. Where else I need to make this connection provider change?

Thanks in advance.