StevenSunzh / redfire

Automatically exported from code.google.com/p/redfire
0 stars 1 forks source link

HTTP 404 when open http://your_openfire-server:7070/redfire #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. follow intall guide to put redfire.war into folder plugin
2. restart openfire, go to http://your_openfire-server:7070/redfire

What is the expected output? What do you see instead?
expect redfire management page displays, but the actual result is HTTP 404 page 
not find.

What version of the product are you using? On what operating system?
windows 7 64, 
openfire version 3.7.1, clean installation
redfire version 370-0.0.06 for Openfire 3.7.0 and above 

Please provide any additional information below.
I checked the HTTP_BIND of openfire is enabled and the port is by default 7070. 
I don't know what else need to be checked.

Original issue reported on code.google.com by jun...@gmail.com on 10 Jul 2012 at 9:39

GoogleCodeExporter commented 9 years ago
PS, my java version is 
d:\>java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

Although somebody solved such problem by updating jvm from 1.5 to 1.6. 
http://community.igniterealtime.org/message/183565#183565
But obviously my problem is different.

Original comment by jun...@gmail.com on 10 Jul 2012 at 9:56

GoogleCodeExporter commented 9 years ago
I have exactly the same problem! My JVM is updated to the latest version. 

After copying the .war file end restarting server, I can see that the .war file 
is extracted into a folder.

Original comment by pauldin...@gmail.com on 24 Jul 2012 at 10:43

GoogleCodeExporter commented 9 years ago
this is the error in log file (class not found):
2012.07.24 21:02:21 org.jivesoftware.openfire.container.PluginManager - Error 
loading plugin: E:\programmi\openfire\plugins\redfire
java.lang.NoClassDefFoundError: org/mortbay/jetty/HandlerContainer
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:420)
    at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:80)
    at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1067)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.HandlerContainer
    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)
    ... 17 more

Original comment by pauldin...@gmail.com on 24 Jul 2012 at 2:05

Attachments:

GoogleCodeExporter commented 9 years ago
This is possibly the answer (because of Jetty version):
http://community.igniterealtime.org/thread/40922

Original comment by pauldin...@gmail.com on 24 Jul 2012 at 2:29

GoogleCodeExporter commented 9 years ago
In the 'Downloads' section, there are 2 version lines: for 3.7.0+ and for 3.6.4-

Original comment by pauldin...@gmail.com on 24 Jul 2012 at 2:41

GoogleCodeExporter commented 9 years ago
Running openfire 3.7.1 had this same issue with version 0.0.0.6 for 3.7.0, but 
had somewhat better luck with version 0.0.0.5 for 3.7.0. I don't have 
screensharing working but at least the plugin installs.

Original comment by gvaugha...@gmail.com on 26 Jul 2012 at 6:44