[greenstone-users] GLI applet - unable to access collections remotely

From Sean McGuire
DateTue, 24 May 2005 15:31:11 -0400
Subject [greenstone-users] GLI applet - unable to access collections remotely
I have looked through the documentation and list archives, but I don't see a
direct answer to my problem. I apologize if I missed it.

I have installed gsdl-2.60-unix.tar.gz on a Debian Linux stable distro and
successfully have access to the "demo" collection, and can create new
collections via "The Collector". I have also successfully used the GLI on the
local machine using JAVA j2re-1_4_2_08.

I compiled the GLI applet according to the directions in the FAQ using JAVA
j2sdk-1_4_2_08. It loads from my Window's browser, but I am unable to view
any existing collections (ie demo). And when I attempt to create a collection
remotely using the applet, the directory structure and collect.cfg is created
on the Greenstone server, but the following JAVA error occurs...

__________________________________
Java vendor: Sun Microsystems Inc.
Java version: 1.5.0_02
--
Setting library_url to http://greenstone.mdch.org/cgi-bin/library...
Start called
**** launch url =
http://greenstone.mdch.org/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=test&about=test&c=Administrator-test
**** download cgi = 'http://greenstone.mdch.org/cgi-bin/download'
**** cgi args = 'c=Administrator-test&dir=.&a=&r='
Error: Unable to open 'C:Documents and SettingsAdministratorApplication
DataGreenstoneGLIcollectAdministrator-test.zip'
This maybe caused by the zip file being empty.
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.Utility.unzip(Utility.java:840)
at org.greenstone.gatherer.shell.GShell.run(GShell.java:549)
at
org.greenstone.gatherer.collection.CollectionManager.makeCollection(CollectionManager.java:1013)
at
org.greenstone.gatherer.collection.CollectionManager.createCollection(CollectionManager.java:319)
at
org.greenstone.gatherer.gui.GUIManager$NewCollectionTask.run(GUIManager.java:717)
__________________________________

Are you not supposed to be able to work with collections on the server
remotely? Shouldn't there be some authentication to verify administrative
rights to create collections via GLI? Do I need a different "Library Path" in
my Connection setting? What am I missing?

Any help would be appreciated,
Sean