I'm following this guide (http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/db-integration-guide.html) to integrate the Openfire server with and Sql Server Database.
I configured the openfire.xml like this:
<jdbcProvider>
<driver>net.sourceforge.jtds.jdbc.Driver</driver>
<connectionString>jdbc:jtds:sqlserver://192.168.21.40:1433/XmppTests;user=myusername;password=mypass;instance=sqlserver2008ex;</connectionString>
</jdbcProvider>
<provider>
<auth>
<className>org.jivesoftware.openfire.auth.JDBCAuthProvider</className>
</auth>
</provider>
<jdbcAuthProvider>
<passwordSQL>SELECT password FROM dbo.Users WHERE username=?</passwordSQL>
<passwordType>plain</passwordType>
</jdbcAuthProvider>
<admin>
<authorizedUsernames>francisco</authorizedUsernames>
</admin>
When I turn the server on it doesn't show me any error, it reverts the file to the default values. I check the logs and I can't find anything.