Wandora Startup Error on OSX Snow Leopard

Forum is for miscellaneous user help requests.

Wandora Startup Error on OSX Snow Leopard

Postby PBenn » Sun Jun 27, 2010 8:51 am

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
That which can be destroyed by the truth should be.
PBenn
 
Posts: 2
Joined: Sun Jun 27, 2010 8:19 am

Postby aki » Mon Jun 28, 2010 3:20 pm

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
aki
 
Posts: 12
Joined: Mon Jun 28, 2010 2:40 pm

Postby PBenn » Tue Jun 29, 2010 7:42 am

Hi Aki,

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

Thanks!!!

Paul
That which can be destroyed by the truth should be.
PBenn
 
Posts: 2
Joined: Sun Jun 27, 2010 8:19 am


Return to How to... and problems

Who is online

Users browsing this forum: No registered users and 26 guests