powered by Jive Software

Openfire 3.8.2

Guys,

So we decided to upgrade our Openfire server and every since then i get tons of error messages and dont know how to fix. Currently we uninstall the software then reinstall and it works for a few days but then i get the same error message. Any help would be greatly appreciated

Errors on startup

og4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin…\logs\warn.log (Access is denied)

at java.io.FileOutputStream.openAppend(Native Method)

at java.io.FileOutputStream.(Unknown Source)

at java.io.FileOutputStream.(Unknown Source)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)

at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:15 0)

at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.ja va:163)

at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurat or.java:425)

at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)

at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)

at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.jav a:470)

at org.apache.log4j.LogManager.(LogManager.java:122)

at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)

at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)

at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:150)

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)

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin…\logs\error.log (Access is denied)

at java.io.FileOutputStream.openAppend(Native Method)

at java.io.FileOutputStream.(Unknown Source)

at java.io.FileOutputStream.(Unknown Source)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)

at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)

at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)

at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)

at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:15 0)

at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.ja va:163)

at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurat or.java:425)

at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)

at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)

at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)

at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)

at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.jav a:470)

at org.apache.log4j.LogManager.(LogManager.java:122)

at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)

at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)

at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:150)

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)

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.io.FileNotFoundException: C:\Program Files (x86)\Openfire\embedded-db\openfire.lck (Access is denied)

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

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

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:216)

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.io.FileNotFoundException: C:\Program Files (x86)\Openfire\embedded-db\openfire.lck (Access is denied)

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

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

… 16 more

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

Server halted

do run openfire on windows 7?

Errors say that you database is already in use when you try to run Openfire again. Maybe older version was installed with the windows service and it is still running.

Efendi, Yes i am running in a Windows 7 Pro.

wroot, I did not unistall the previous i simply installed the new one over the old version. Do you happen to know what the services would be called for the previous version of Openfire?

right click on open fire logo then run as administrator…the causes of this error is security on windows 7

Should be something with the “openfire” name.