Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11593

Re: Spark will not connect to server!

$
0
0

Right now I have openfire-service.exe *32 running under the SYSTEM username. When I do nothing and try to run the launcher I receive the following log message below. Now, I will close out of the .exe running as a service and relaunch the launcher, sometimes I get the same error message as the one below, other times I get this:

 

Openfire 3.7.1 (Jan 14, 2015 9:30:57 AM)
Admin console listening at:
http://[server name]:xxx0
https://[server name]:xxx1


To me the above listing makes it appear as if Spark/Open Fire is working as expected, but end users are unable to connect to spark as they continue to receive the same error message as being unable to connect to the server or bad username. I also still can't delete that .lck file as it says the file is in use. Please advise. Thank you.

 

 

 

 

(error from console that I get occasionally)

 

 

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: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@c69e02e3[file =C:\Program Files (x86)\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception:  java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\Program Files (x86)\Openfire\embedded-db\openfire.lck

  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: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@c69e02e3[file =C:\Program Files (x86)\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception:  java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\Program Files (x86)\Openfire\embedded-db\openfire.lck

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

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

  ... 16 more

ErrSo rerver haltsdtea

r

ting the server. Please check the log files for more information.


Viewing all articles
Browse latest Browse all 11593

Trending Articles