Thanks for your response.
I posted the message below after facing the problem during a workshop
in Mauritus. Funny enough, the problem on my laptop (running Vista
Home Basic) just disappeared when I got back home and I'm not sure how
and why. The Java check ((gliserver.pl?cmd=check-installation) that
you mention below) had been displaying "Installation OK!" at the
bottom and showing no signs of the system failing to locate Java.
Note also that I'd already changed the first line in cgi-bin/gliserver.pl to:
The above is step 5 under the "Server" section on
For #javahome /full/path/to/j2sdk1.4-or-higher I'd added the following:
javahome "c:/program files/java/jre1.5.0_02"
I do not know if the problem is still persisting on the Windows 2003
Server machine in question. I'm, therefore, kindly asking the guys in
Mauritius to implement your suggestions and get back to the list with
On 10/6/09, Anupama of Greenstone Team <email@example.com> wrote:
> Hi Amos,
> It looks like your Remote Greenstone installation is not finding Java.
> 1. What is the output of doing step 6 of
> Does it look like Java is found? What does it print out for JAVA HOME?
> 2. IF it does not seem to find your java, can you open the file
> cgi-bin/gsdlsite.cfg and edit it in a texteditor:
> Near the bottom is the line
> #javahome /full/path/to/j2sdk1.4-or-higher
> Remove the # from the front and set its value to the full path to your
> Java installation.
> Try running step 6 of
> http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone again and
> see if the JAVA_HOME value appears alright now. If it does work, then
> try to see if the rest works.
> 3. One more thing. Recently it came to our attention that there needs to
> be a minor correction to the way the Greenstone 2.82 installer sets up
> its gliserver.pl file. Could you make the following correction to your
> file cgi-bin/gliserver.pl, since I see you are running it on Windows:
> Open cgi-bin/gliserver.pl in a text editor and change the first line to:
> #!C:<fullpath oyourgreenstone>binwindowsperlbinperl -w
> Note the # at the start and the "bin" folder near the end.
> (Perhaps it should be:
> #!C:<fullpath oyourgreenstone>binwindowsperlbinperl.exe -w
> Try the above if the previous one did not work.)
> Tell us if the problems persist. In particular, could you then send us
> the output for step 1 above?
>>> From: Amos Kujenga <firstname.lastname@example.org>
>>> To: "Discussion list for the Southern African Greenstone Support
>>> greenstone user list <email@example.com>
>>> Date: Fri, 11 Sep 2009 10:07:19 +0200
>>> Subject: [greenstone-users] Ver 2.82 Remote GLI Login Error
>>> Dear All,
>>> I'm running Greenstone 2.82 on Windows Vista & also on Windows Server
>>> 2003, using Apache as the webserver and running Java RE1.5.0_02.
>>> I've religiously followed the instructions on how to install Apache on
>>> Windows as given on the page (
>>> ) & the Remote installation procedure as on
>>> However, when trying to login, I'm getting an error:
>>> "An error has occurred on the remote Greenstone Server while
>>> performing this operation:
>>> Java failed: java -classpath .../bin/java/GLIServer.jar" ......
>>> org.greenstone.gatherer.remote.ZipCollectionConfigurations ..... "
>>> Upon searching the archives, I've noted that this is not a new problem
>>> but, unfortunately I could not get any posting that seemed to give an
>>> answer and so conclude the matter.
>>> Any help would be most appreciated.
>> John B. Rose
>> 1 Bis, Rue des Ch?tre-Sacs
>> 92310 S?vres
>> Email: <firstname.lastname@example.org>
>> (in case of bounce then send to