Another tragic tale of upgrading too quickly and messing up a good thing

I_ had 3.1 running perfectly and installed the 3.2 upgrade. now wildfire won’'t run as a service, i have to open wildfire.exe and leave it open. but i am getting mucho 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.wildfire.XMPPServer.verifyDataSource(

at org.jivesoftware.wildfire.XMPPServer.start(

at org.jivesoftware.wildfire.XMPPServer.(

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.wildfire.starter.ServerStarter.start(

at org.jivesoftware.wildfire.starter.ServerStarter.main(

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.wildfire.XMPPServer.verifyDataSource(

… 16 more

**from the logs


I don’'t know enough about java errors to know exactly what is going on below, but I have upgraded Wildfire several times. I had something similar happen a while back. I use Oracle as the database and it requires the Oracle JDBC driver (ojdbc14.jar) to be placed in the lib directory. It seems that the upgrade process overwrites the lib directory and thus removes the Oracle driver. The first time I did and upgrade I thought I broke things. Once I figured out it was a DB issue, I looked back at the docs, stepped through the setup, and saw the file was missing. Now restoring that files is part of my upgrade process.

This may or may not be what is going on below, but I would suggest stepping through the setup instructions, verifying your config as you go.

Good luck…


i use the database included with wildfire. i don’'t know how i could go about doing what you suggested…