yikuang / wave-protocol

Automatically exported from code.google.com/p/wave-protocol
0 stars 0 forks source link

run-server fails on Ubuntu Jaunty #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pull source as per installation instructions
2. ant
3. ./run-server.sh

What is the expected output? What do you see instead?

The expected output is a message indicating the server has started up. What
I get instead is:

./run-server.sh 
Exception in thread "main" java.lang.NoClassDefFoundError:
org/xmpp/component/ComponentException
Caused by: java.lang.ClassNotFoundException:
org.xmpp.component.ComponentException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class:
org.waveprotocol.wave.examples.fedone.ServerMain.  Program will exit.

What version of the product are you using? On what operating system?

as per hg pull

Please provide any additional information below.

I'm using Ubuntu Jaunty, Java SDK6

Original issue reported on code.google.com by JamesRPu...@gmail.com on 22 Jul 2009 at 10:24

GoogleCodeExporter commented 9 years ago
Drat. run-server is old and busted. I will fix. In the meantime, you can run the
server with java -jar dist/fedone-0.2.jar

Original comment by anthonybaxter@gmail.com on 23 Jul 2009 at 1:38

GoogleCodeExporter commented 9 years ago
So, run-server.sh is meant to do the same thing as the "java -jar 
fedone-0.2.jar etc" 
command on the Installation wiki page, and is not something meant to be run in 
addition 
to that command.  Is this correct?

Original comment by mac...@gmail.com on 23 Jul 2009 at 12:23

GoogleCodeExporter commented 9 years ago
Yes. It predates the ant magic that creates fedone-0.2.jar and also predates 
command
line options. 

Original comment by anthonybaxter@gmail.com on 23 Jul 2009 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by btkalman@gmail.com on 26 Jul 2009 at 1:46