[greenstone-users] Re: GLI Java error

From qq6@cs.waikato.ac.nz
DateSat Jan 19 12:06:23 2008
Subject [greenstone-users] Re: GLI Java error
In-Reply-To (8f39b6870801171633s1b4a37d8mfe002b34df8e4f18-mail-gmail-com)
Hi Creighton

I'm very fine, thank you.

It seems to me that the collection couldn't be zipped up and downloaded
successfully from server. But it didn't happen on me. I think there are
two things you might have to look at:
1. check whether the collection has been zipped up.
Open the GSDLHOME/cgi-bin/gliserver.pl file with an editor
Find "my $debugging_enabled = 0;" which is near the top of file, and
modify it to "my $debugging_enabled = 1;", then create a new collection
from GLI applet again.
If the collection could be zipped up, a zip file, named like
"username-collectname-timestamp.zip", will appear under the
GSDLHOME/collect folder.

2. If you succeed on the first check, and still get HTTP 500 error, the
problem might exist in the cgi downloading procedure. Please check the log
file of the web server for details.


> Hi Quan,
> How are you? I hope your holidays were relaxing. Here in Nova Scotia we
> are getting back to work on our digital image library project, and I
> wanted
> to touch base with you about the error we were having with the GLI applet.
> You had been very helpful with getting Greenstone 2.75 installed and
> getting
> the GLI applet to launch, but when we try to build the collection, we get
> an
> HTTP 500 error. We have edited the Perl file according to the Wiki for
> remote greenstone, but still have the same problem. Here is the stack
> when
> we launch the GLI:
> java.util.zip.ZipException: error in opening zip file
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(Unknown Source)
> at
> org.greenstone.gatherer.util.UnzipTools.unzipFile(UnzipTools.java:40)
> at org.greenstone.gatherer.GathererApplet.unzipFromJar(
> GathererApplet.java:203)
> at
> org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:138)
> at sun.applet.AppletPanel.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Version: 2.75
> Setting library_url to
> http://imagedb.sim.management.dal.ca/imagedb/cgi-bin/library...
> Setting gliserver_url to
> http://imagedb.sim.management.dal.ca/imagedb/cgi-bin/gliserver.pl...
> Deleting user's local collect directory...
> Done.
> gliserver args: cmd=get-script-options&script=
> classinfo.pl&xml=&language=en&listall
> gliserver args: cmd=get-script-options&script=
> pluginfo.pl&xml=%2