Error Starting the server

I would appreciate any help you can offer. I didn’t configure this so I am having a rough time diagnosing the problem.

I believe the server version of Openfire is 3.3 running on Windows XP.

AMD Athlon 64 Processor 3700+, 2.19 GHZ, 448mb RAM

Here is the error at the command line:

C:\Program Files\Openfire\bin\cmd /k "java_exe -Xms200m -Xmx200n -jar …\lib\startup.jar

Database setup or configuration error: Please verify your database settings and check the logs/error.log file for detail…

java.lang.IllegalArgumentException: java.lang.NullPointerException…

Here is the error log file:

2009.02.26 10:26:42 [org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:489)
]
java.lang.IllegalArgumentException: java.lang.NullPointerException
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:741)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:459)
at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:161)
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)
Caused by: java.lang.NullPointerException
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:730)
… 10 more

–One major change we have made to our Active directory (from which all of our users in jabber are populated) is we changed the Domain functional level to Windows Server 2003

–The Openfire computer does not log into the domain and it never has (I will try this option in a minute)

Thanks for input!!

I’m getting a java.sql.SQLExceptions error

Failed after 11 retries

I/O exception : org.hsqldb.HsqlException: Unexpected token:…

at org.jivesoftware.database.DBConnectionsManager.getConnection

at org.jivesoftware.openfire.XMPPServer.verifydatasourceXMPPserver.java:698

I’m getting this same error right after a fresh install of the OpenFire server on Windows XP.

Any help would be greatly appreciated.

Completely wiping out the directory and reinstalling seemed to fix my issue.

Hi,

does the file conf/openfire.xml in the Openfire directory contain the database settings? Using the embedded-db it should look like this:

<connectionProvider>
    <className>org.jivesoftware.database.EmbeddedConnectionProvider</className>
  </connectionProvider>

For other database types there may also be hostname, username and passwort - you may remove sensitive information before posting.

LG