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

Getting this error on openfire 3.8.2 when starting

$
0
0

Whenever I start the server I get this error in the console like area:

 

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

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

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

    at java.io.FileOutputStream.<init>(Unknown Source)

    at java.io.FileOutputStream.<init>(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.<clinit>(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.<clinit>(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\Openfire\bin\..\logs\info.log (Access is denied)

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

    at java.io.FileOutputStream.<init>(Unknown Source)

    at java.io.FileOutputStream.<init>(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.<clinit>(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.<clinit>(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\Openfire\bin\..\logs\warn.log (Access is denied)

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

    at java.io.FileOutputStream.<init>(Unknown Source)

    at java.io.FileOutputStream.<init>(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.<clinit>(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.<clinit>(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\Openfire\bin\..\logs\error.log (Access is denied)

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

    at java.io.FileOutputStream.<init>(Unknown Source)

    at java.io.FileOutputStream.<init>(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.<clinit>(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.<clinit>(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@f7cf94a6[file =C:\Program Files\Openfire\embedded-db\openfire.lck, exists=false, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: C:\Program Files\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.<init>(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@f7cf94a6[file =C:\Program Files\Openfire\embedded-db\openfire.lck, exists=false, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: C:\Program Files\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

 

I can't start the server or go to the admin console on firefox. Any ideas what I'm doing wrong? I'm using Windows Vista SP1 (clean install) and Openfire 3.2.8 JRE included.


Viewing all articles
Browse latest Browse all 10742

Trending Articles