2016-10-05 115 views
0

我在Windows 7中安裝了明火,並且返回錯誤!還是當我啓動管理和流程進一步然後我無法安裝插件也安裝後出現錯誤Open Fire XMPP

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

java.io.FileNotFoundException:C:\ Program Files文件\的Openfire \ BIN .. \日誌\ all.log(訪問被拒絕) 在java.io.FileOutputStream.open0(本機方法) 在java.io.FileOutputStream.open(來源不明) 在java.io.FileOutputStream中。(來源不明) 在java.io.FileOutputStream中。(來源不明) 在org.apache.log4j.FileAppender.setFile(FileAppender.java:289) 在org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167) 在org.apache.log4j.FileAppender.activate選項(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:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) at org.apache.log4j.xml.DOMConfigurator。 parseChildrenOfLoggerElement(DOMConfigurator.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.java:470) at org.apache.log4j.LogManager。(LogManager.java:122) 在org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288) 在org.jivesoftware.openfire.XMPPServer(XMPPServer.java:103) 在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本機方法) 在sun.reflect.NativeConstructorAccessorImpl.newInstance(來源不明) 在sun.reflect.DelegatingConstructorAccessorImpl。 newInstance(未知來源) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:105) at在sun.reflect.NativeMethodAccessorImpl.invoke(未知源) at sun.reflect。 DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65) at com.exe4j.runtime.WinLauncher。 main(WinLauncher.java:101) at com.install4j.ru ntime.launcher.WinLauncher.main(WinLauncher.java:26) log4j:錯誤setFile(null,true)調用失敗。 java.io.FileNotFoundException:C:\ Program Files \ Openfire \ bin .. \ logs \ debug.log(訪問被拒絕) 位於java.io.FileOutputStream.open0(本機方法) 位於java.io.FileOutputStream。在組織開放(來源不明) 在java.io.FileOutputStream中。(來源不明) 在java.io.FileOutputStream中。(來源不明) 在org.apache.log4j.FileAppender.setFile(FileAppender.java:289) .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:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java: 163) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.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.doConfi (org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470) at org.apache.log4j.LogManager。(LogManager.java:122) 在org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288) 在org.jivesoftware.openfire.XMPPServer。(XMPPServer.java:103) 在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本機方法) 在sun.reflect .NativeConstructorAccessorImpl.newInstance(未知來源) at sun.reflect .DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.jivesoftware.openfire.starter.ServerStarter.start( ServerStarter.java:105) at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown源) 在sun.reflect.DelegatingMethodAccessorImpl.invoke(來源不明) 在java.lang.reflect.Method.invoke(來源不明) 在com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65) 在com.exe4j.runtime.WinLaun cher.main(WinLauncher.java:101) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:26) log4j:錯誤setFile(null,true)調用失敗。 java.io.FileNotFoundException:C:\ Program Files \ Openfire \ bin .. \ logs \ info.log(訪問被拒絕) 位於java.io.FileOutputStream.open0(本機方法) 位於java.io.FileOutputStream。在組織開放(來源不明) 在java.io.FileOutputStream中。(來源不明) 在java.io.FileOutputStream中。(來源不明) 在org.apache.log4j.FileAppender.setFile(FileAppender.java:289) .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:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) at org.apache.log4j.xml。 DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.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.java:470) at org.apache.log4j.LogManager。(LogManager.java:122) at org.slf4j.impl.Log4jLoggerFactory .getLogger(Log4jLoggerFactory.java:66) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288) 在org.jivesoftware.openfire.XMPPServer (XMPPServer.java:103) 在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本機方法) 在sun.reflect.NativeConstructorAccessorImpl.newInstance(來源不明) 在sun.reflect.DelegatingConstructorAccessorImpl.newInstance(來源不明) 是java .lang.reflect.Constructor.new Instance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:105) at org.jivesoftware.openfire.starter.ServerStarter。主(ServerStarter.java:56) 在sun.reflect.NativeMethodAccessorImpl.invoke0(本機方法) 在sun.reflect.NativeMethodAccessorImpl.invoke(來源不明) 在sun.reflect.DelegatingMethodAccessorImpl.invoke(來源不明) 是java .lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java :26) log4j:錯誤setFile(null,true)調用失敗。 java.io.FileNotFoundException:C:\ Program Files \ Openfire \ bin .. \ logs \ warn.log(訪問被拒絕) 位於java.io.FileOutputStream.open0(本地方法) 位於java.io.FileOutputStream。在組織開放(來源不明) 在java.io.FileOutputStream中。(來源不明) 在java.io.FileOutputStream中。(來源不明) 在org.apache.log4j.FileAppender.setFile(FileAppender.java:289) .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:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) at org.apache.log4j.xml。 DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829) 在org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) 在org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618) 在org.apache.log4j.helpers。 OptionConverter.selectAndConfigure(OptionConverter.java:470) at org.apache.log4j.LogManager。(LogManager.java:122) 在org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288) 在org.jivesoftware.openfire.XMPPServer。(XMPPServer.java:103) 在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本機方法) 在sun.reflect.NativeConstructorAccessorImpl.newInstance(來源不明) 在sun.reflect.DelegatingConstructorAccessorImpl .newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class。newInstance(Unknown Source) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:105) at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) at sun.reflect .NativeMethodAccessorImpl.invoke0(本機方法) 在sun.reflect.NativeMethodAccessorImpl.invoke(來源不明) 在sun.reflect.DelegatingMethodAccessorImpl.invoke(來源不明) 在java.lang.reflect.Method.invoke(來源不明) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher .java:26) log4j:錯誤setFile(null,true)調用失敗編輯。 java.io.FileNotFoundException:C:\ Program Files \ Openfire \ bin .. \ logs \ error.log(訪問被拒絕)位於java.io.FileOutputStream.open0的 (Native Method) 位於java.io.FileOutputStream。在組織開放(來源不明) 在java.io.FileOutputStream中。(來源不明) 在java.io.FileOutputStream中。(來源不明) 在org.apache.log4j.FileAppender.setFile(FileAppender.java:289) .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:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) at org.apache.log4j.xml。 DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829) 在org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) 在org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618) 在org.apache.log4j.helpers。 OptionConverter.selectAndConfigure(OptionConverter.java:470) at org.apache.log4j.LogManager。(LogManager.java:122) 在org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) 在org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288) 在org.jivesoftware.openfire.XMPPServer。(XMPPServer.java:103) 在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本機方法) 在sun.reflect.NativeConstructorAccessorImpl.newInstance(來源不明) 在sun.reflect.DelegatingConstructorAccessorImpl .newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter。 java:105) 在org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) 在sun.reflect.NativeMethodAccessorImpl.invoke0(本機方法) 在sun.reflect.NativeMethodAccessorImpl.invoke(來源不明) 在陽光下。反射.DelegatingMethodAccessorImpl.invoke(未知源) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65) at com.exe4j.runtime。 WinLauncher.main(WinLauncher.java:101) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:26) Openfire 4.0。3 2016年10月5日下午11時27分49秒] 管理控制檯。http://mohit-pc:9090

error screen shot

回答

0

聽好像你沒有補助所選文件夾中寫。

在另一個目錄剛剛安裝的Openfire諸如此類

C:\Openfire 

C:\MyPrograms\Openfire 

,避免C:\Program Files\

+0

感謝的人它的作品! –