Hello Soltyr
Windows 2000 limits the size of command line string to 2047 characters [1]. Wandora's SetClasspath.bat script adds every JAR package separately to the WANDORACLASSES environment variable. When Wandora.bat script then uses this rather big environment variable WANDORACLASSES, the command line length is exceeded and command dies silently. To solve the problem, use asterisk (*) character to add multiple JARs at the same time to the WANDORACLASSES environment variable. Below is a code snippet that replaces current SetClasspath.bat script. Copying the code and placing it to empty text document replacing old bin/SetClasspath.bat should fix the problem.
- Code: Select all
set WANDORACLASSES=classes
set WANDORACLASSES=%WANDORACLASSES%;resources
set WANDORACLASSES=%WANDORACLASSES%;lib/*
set WANDORACLASSES=%WANDORACLASSES%;lib/fmj/*
set WANDORACLASSES=%WANDORACLASSES%;lib/jmbox/*
set WANDORACLASSES=%WANDORACLASSES%;lib/jena/*
set WANDORACLASSES=%WANDORACLASSES%;lib/MRJToolkitStubs.zip
set WANDORACLASSES=%WANDORACLASSES%;lib/mstor/*
set WANDORACLASSES=%WANDORACLASSES%;lib/jtidy/*
set WANDORACLASSES=%WANDORACLASSES%;lib/gdata/*
set WANDORACLASSES=%WANDORACLASSES%;lib/jetty/*
set WANDORACLASSES=%WANDORACLASSES%;lib/opencalais.zip
I assume this problem will be fixed in next Wandora release (December 2008). Till then you have to fix the bin/SetClasspath.bat manually.
Kind regards,
Aki Kivelä
Wandora Team
[1]
http://support.microsoft.com/kb/830473