All,
I have recently installed openfire and found I need to reconfigure it using another external database (MYSQL). I’ve tried uninstalling openfire, deleting everything in the openfire directory, and reinstalling openfire. When I do this, I am not shown the configuration screen again. I did a search on here and someone mentioned to edit the openfire.xml, changing <setup>false</setup> to true. I do not see this anywhere in the openfire.xml file and when I try to add it, I get errors.
Database setup or configuration error: Please verify your database settings and check the logs/error.log file for detailed error messages.
java.lang.IllegalArgumentException: java.lang.NullPointerException
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:671)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:391)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:148)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:93)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.NullPointerException
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:660)
… 16 more
Error starting the server. Please check the log files for more information.
Server halted
How can I reconfigure openfire and start from a clean slate?