Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Error starting server - Database setup error

$
0
0

Hey everyone,

 

I just had my server stop responding completely with this error in the admin console:

 

 

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.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: error in script file line: 1183 java.io.IOException: java.io.IOException: Unexpected end of command

          at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:764)

          at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:480)

          at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:212)

          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:113)

          at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

          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.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: error in script file line: 1183 java.io.IOException: java.io.IOException: Unexpected end of command

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

          at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:754)

          ... 16 more

Error starting the server. Please check the log files for more information.

Server halted

 

 

Everything was working fine for the past week or so, and all of a sudden this morning it stopped working.  I checked the error log, but it looks similar to what I already see:

 

 

2012.02.03 10:20:10 org.jivesoftware.openfire.XMPPServer - java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: error in script file line: 1183 java.io.IOException: java.io.IOException: Unexpected end of command

java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: error in script file line: 1183 java.io.IOException: java.io.IOException: Unexpected end of command

          at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:764)

          at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:480)

          at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:212)

          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:113)

          at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

          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.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: error in script file line: 1183 java.io.IOException: java.io.IOException: Unexpected end of command

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

          at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:754)

          ... 16 more

 

 

Can anyone help me out?


Viewing all articles
Browse latest Browse all 10742

Trending Articles