powered by Jive Software

Server Halted because of Database Error

Hi,

I’'m running Jive 2.1.1 on a White Box EL 3.0 (RHEL Clone) with a few users and, that said, I prefered to use Jive Internal database. It ran fine for more than 10 days, no crashes, no unexpected shutdowns, no nothing. Just fine, neat IM server.

However, last saturday (03/19) I’'ve upgraded my kernel (no changes in version, just releases), but no change to Java nor anything else.

Since then (I don’‘t know if it isn’‘t just a coincidence) I couldn’'t start up my Jive server anymore. A quick look at info.log show me “Server Halted”

When I turn to stderror.log it says:

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

java.lang.IllegalArgumentException

at org.jivesoftware.messenger.XMPPServer.verifyDataSource(XMPPServer.java:416)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:191)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

Server halted

But I just don’'t know what to do. Does anyone know what it is? How do I fix it?

Thanks in advance,

Bruno.

Not a big Linux guy but have you tried re-compiling the server? Maybe its a permissions thing or a port conflict.

Please check the error log and paste in the error that you see there. You can find the log in logs/error.log. It should give more specific info about what is going wrong.

Regards,

Matt

Matt,

that’'s what I see on my error.log file (little big, I know, but all those messages are of same time stamp…):

2005.03.22 09:56:52 org.jivesoftware.database.EmbeddedConnectionProvider.start(EmbeddedConnectionPro vider.java:85) Error starting connection pool.

java.io.IOException

at org.jivesoftware.database.ConnectionPool.(ConnectionPool.java:119)

at org.jivesoftware.database.EmbeddedConnectionProvider.start(EmbeddedConnectionPr ovider.java:77)

at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:263)

at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager .java:89)

at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:257)

at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:67)

at org.jivesoftware.util.JiveProperties.(JiveProperties.java:49)

at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:43)

at org.jivesoftware.messenger.JiveGlobals.getProperty(JiveGlobals.java:539)

at org.jivesoftware.messenger.XMPPServer.initialize(XMPPServer.java:166)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:187)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

2005.03.22 09:56:52 org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConne ctionProvider.java:46) Error: EmbeddedConnectionProvider.getConnection() wascalled before the internal pool has been initialized.

2005.03.22 09:56:52 org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnection Manager.java:279)

java.lang.NullPointerException

at org.jivesoftware.database.DbConnectionManager.setMetaData(DbConnectionManager.j ava:420)

at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:268)

at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager .java:89)

at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:257)

at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:67)

at org.jivesoftware.util.JiveProperties.(JiveProperties.java:49)

at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:43)

at org.jivesoftware.messenger.JiveGlobals.getProperty(JiveGlobals.java:539)

at org.jivesoftware.messenger.XMPPServer.initialize(XMPPServer.java:166)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:187)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

2005.03.22 09:56:52 org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConne ctionProvider.java:46) Error: EmbeddedConnectionProvider.getConnection() wascalled before the internal pool has been initialized.

2005.03.22 09:56:52 org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager. java:107) WARNING: ConnectionManager.getConnection() failed to obtain a connection.

2005.03.22 09:56:52 org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:268)

java.lang.NullPointerException

at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:258)

at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:67)

at org.jivesoftware.util.JiveProperties.(JiveProperties.java:49)

at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:43)

at org.jivesoftware.messenger.JiveGlobals.getProperty(JiveGlobals.java:539)

at org.jivesoftware.messenger.XMPPServer.initialize(XMPPServer.java:166)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:187)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

2005.03.22 09:56:52 org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConne ctionProvider.java:46) Error: EmbeddedConnectionProvider.getConnection() wascalled before the internal pool has been initialized.

2005.03.22 09:56:52 org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager. java:107) WARNING: ConnectionManager.getConnection() failed to obtain a connection.

2005.03.22 09:56:52 org.jivesoftware.messenger.XMPPServer.verifyDataSource(XMPPServer.java:415) Database could not be accessed

java.lang.NullPointerException

at org.jivesoftware.messenger.XMPPServer.verifyDataSource(XMPPServer.java:405)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:191)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

2005.03.22 09:56:52 org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:220)

java.lang.IllegalArgumentException

at org.jivesoftware.messenger.XMPPServer.verifyDataSource(XMPPServer.java:416)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:191)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

May that be permission related? I mean, should I check any permission on Jive files?

The server doesn’‘t come up because it can’'t access its database, is that right? If so, is there a workaround?

Matt,

that’'s what I see on my error.log file (little big, I know, but all those messages are of same time stamp…):

2005.03.22 09:56:52 org.jivesoftware.database.EmbeddedConnectionProvider.start(EmbeddedConnectionPro vider.java:85) Error starting connection pool.

java.io.IOException

at org.jivesoftware.database.ConnectionPool.(ConnectionPool.java:119)

at org.jivesoftware.database.EmbeddedConnectionProvider.start(EmbeddedConnectionPr ovider.java:77)

at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:263)

at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager .java:89)

at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:257)

at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:67)

at org.jivesoftware.util.JiveProperties.(JiveProperties.java:49)

at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:43)

at org.jivesoftware.messenger.JiveGlobals.getProperty(JiveGlobals.java:539)

at org.jivesoftware.messenger.XMPPServer.initialize(XMPPServer.java:166)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:187)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

2005.03.22 09:56:52 org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConne ctionProvider.java:46) Error: EmbeddedConnectionProvider.getConnection() wascalled before the internal pool has been initialized.

2005.03.22 09:56:52 org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnection Manager.java:279)

java.lang.NullPointerException

at org.jivesoftware.database.DbConnectionManager.setMetaData(DbConnectionManager.j ava:420)

at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:268)

at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager .java:89)

at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:257)

at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:67)

at org.jivesoftware.util.JiveProperties.(JiveProperties.java:49)

at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:43)

at org.jivesoftware.messenger.JiveGlobals.getProperty(JiveGlobals.java:539)

at org.jivesoftware.messenger.XMPPServer.initialize(XMPPServer.java:166)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:187)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

2005.03.22 09:56:52 org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConne ctionProvider.java:46) Error: EmbeddedConnectionProvider.getConnection() wascalled before the internal pool has been initialized.

2005.03.22 09:56:52 org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager. java:107) WARNING: ConnectionManager.getConnection() failed to obtain a connection.

2005.03.22 09:56:52 org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:268)

java.lang.NullPointerException

at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:258)

at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:67)

at org.jivesoftware.util.JiveProperties.(JiveProperties.java:49)

at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:43)

at org.jivesoftware.messenger.JiveGlobals.getProperty(JiveGlobals.java:539)

at org.jivesoftware.messenger.XMPPServer.initialize(XMPPServer.java:166)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:187)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

2005.03.22 09:56:52 org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConne ctionProvider.java:46) Error: EmbeddedConnectionProvider.getConnection() wascalled before the internal pool has been initialized.

2005.03.22 09:56:52 org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager. java:107) WARNING: ConnectionManager.getConnection() failed to obtain a connection.

2005.03.22 09:56:52 org.jivesoftware.messenger.XMPPServer.verifyDataSource(XMPPServer.java:415) Database could not be accessed

java.lang.NullPointerException

at org.jivesoftware.messenger.XMPPServer.verifyDataSource(XMPPServer.java:405)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:191)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

2005.03.22 09:56:52 org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:220)

java.lang.IllegalArgumentException

at org.jivesoftware.messenger.XMPPServer.verifyDataSource(XMPPServer.java:416)

at org.jivesoftware.messenger.XMPPServer.start(XMPPServer.java:191)

at org.jivesoftware.messenger.XMPPServer.(XMPPServer.java:116)

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.messenger.starter.ServerStarter.start(ServerStarter.java:83)

at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:46)

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.install4j.runtime.Launcher.main(Unknown Source)

May that be permission related? I mean, should I check any permission on Jive files?

The server doesn’‘t come up because it can’'t access its database, is that right? If so, is there a workaround?