Do it again with openfire

How do you reset everything to start all over with an Openfire server? Answer below.

Where $OPENFIRE_HOME is the directory that Openfire is installed (for example /opt/openfire/im-server), go to $OPENFIRE_HOME/conf and insert the following text at the bottom of openfire.xml:

      <connectionTimeout>1.0</connectionTimeout>
    </defaultProvider>
  </database>
  <setup>false</setup>
</jive>

Then restart the server:

cd $OPENFIRE_HOME/bin
./openfire stop
./openfire start

When next you go to the web administration console url, http://localhost:9090, you should once again be presented with the first setup page (asking you to select a language).