Page 1 of 1

Wandora Startup Error on OSX Snow Leopard

PostPosted: Sun Jun 27, 2010 8:51 am
by PBenn
Hi,

I'm running the Java version...

Code: Select all
  java version "1.6.0_20"
  Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
  Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)


But I'm running into a few problems with the most recent Wandora. With the downloaded version I was getting the following error...


Code: Select all
pbenn$ bin/Wandora-large.sh
*****************************************************
***  WANDORA - KNOWLEDGE MANAGEMENT ENVIRONMENT   ***
***  Copyright (C) 2009 Grip Studios Interactive  ***
***            http://www.wandora.org/            ***
*****************************************************
Xms750m Xmx1000m
bin/Wandora-large.sh: line 9: SetClasspath.sh: No such file or directory
bin/Wandora-large.sh: line 11: cd: ../build: No such file or directory


Those files are definitely there so after digging around for a solution I added the absolute path to each of those lines in the .sh file. Now I get the Wandora splash image come up, but the terminal tells me the following...

Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletOutputStream
   at org.wandora.application.Wandora.getHTTPServer(Wandora.java:168)
   at org.wandora.application.Wandora.initializeWandora(Wandora.java:316)
   at org.wandora.application.Wandora.<init>(Wandora.java:156)
   at org.wandora.application.Wandora.main(Wandora.java:1943)
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletOutputStream
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 4 more


I do not know enough about Java yet to decipher this. Any ideas?

Thanks
Paul

PostPosted: Mon Jun 28, 2010 3:20 pm
by aki
Hello Paul

Wandora's startup scripts assume your current directory is bin when you run a script. In other words, start Wandora with commands:

Code: Select all
pbenn$ cd bin
pbenn$ ./Wandora-large.sh
....


Also, restore original startup scripts if you have made script modifications. I hope this minor run method change helps you starting Wandora successfully. If you have still problems, please drop a line and I'll try to help you out.

Kind Regards,
Aki

PostPosted: Tue Jun 29, 2010 7:42 am
by PBenn
Hi Aki,

Well don't I feel dumb right now! :oops:
Your suggestion worked perfectly.

Thanks!!!

Paul