繁体   English   中英

在Windows8中安装Openfire时出错

[英]Error in installing openfire in windows8

我正在尝试在Windows8中安装openfire并显示以下错误。请问任何人可以告诉我如何解决此问题?

java.io.FileNotFoundException: ..\lib\commons-el.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\hsqldb.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\jasper-compiler.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\jasper-runtime.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\jtds.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\mysql.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\openfire.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\postgres.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\servlet.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: ..\lib\slf4j-log4j12.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\plugins\admin\webapp\WEB-INF\lib\admin-jsp.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:101)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\plugins\admin\webapp\WEB-INF\lib\commons-fileupload.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:101)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\plugins\admin\webapp\WEB-INF\lib\commons-io.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:101)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin\..\plugins\admin\webapp\WEB-INF\lib\dwr.jar (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.java:171)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:101)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
java.lang.ClassNotFoundException: org.jivesoftware.openfire.XMPPServer
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:111)
    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)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

注意:我是从此站点下载并选择Windows platfporm,然后下载了openfire_3_9_1.exe 包括Java JRE(推荐)

根据Openfire论坛 ,可接受的答案是:

将其关闭,然后右键单击->以管理员身份运行

此外,最佳实践是不使用exe,而是按照SnakeDoc的建议将其安装为服务。 您可以通过从Openfire的bin目录中的命令行运行openfire-service /install来实现。 您还可以查看有关如何安装该服务的Openfire文档

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM