Re: [greenstone-users] GLI Applet... what am I doing wrong???

From Gavin Spomer
DateWed, 10 Oct 2007 10:17:06 -0700
Subject Re: [greenstone-users] GLI Applet... what am I doing wrong???
Hello Garth,

I am running SuSE 10.1 on my Greenstone server and am running 2.72 for Greenstone server/gli-client. I haven't ever used the Applet version of the gli, but I went through the instructions and set it up to try to duplicate your problem. I was able to access run the gli applet just fine on my Mac (w/ Safari, Firefox & Netscape) and on a PC (With IE, Firefox & Netscape).

What version of Java are you using on your client machine? My Mac is running 1.4 and the PC 1.6. Maybe you could upgrade to latest version? Also, have you tried using the stand-alone gli client? That shouldn't make a difference, but whenever I'm in doubt and have tried everything else, I start trying crazy things. Sometimes I get lucky. :)

If you want, I'd be happy to send you the tarballs for 2.72 server and gli client.

- Gavin

>>> Garth Summey <> 10/09/07 4:04 PM >>>
Hi List,

I've searched around and can't find what I am doing wrong. We're
running SUSE 10.2 with Greenstone 2.74b I'm really at a loss as to why I
cannot get the File or Edit menus on the GLI applet to function. They
appear grayed out.

I will paste my installation steps below, maybe it will help to see what
I am doing wrong. This is a draft version of my documentation, so there
may be some typos.

(Assuming a clean SUSE install)

* Download Greenstone package to /usr/local/src
* Install the following packages using Yast;
* gcc
* make
* Apache2
* Perl
* Turn on apache at startup
chkconfig apache2 start
* Add an additional repo to Yast
* server -
* directory - opensuse/distribution/10.2/repo/non-oss/
* Install Java Runtime Engine using Yast
* Install Java SDK using Yast
* Create a greenstone conf file for apache(/etc/apache2/conf.d/),
populate with the following:
ScriptAlias /gsdl/cgi-bin/ "/opt/greenstone/cgi-bin/"
<Directory "/opt/greenstone/cgi-bin/">
AllowOverride AuthConfig
Options None
Order allow,deny
Allow from all

Alias /gsdl/ "/opt/greenstone/"
<Directory "/opt/greenstone/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

setenv JAVA_HOME "/usr/lib/jvm/java"
* Unpack and install Greenstone
tar -xvf /usr/local/src/gsdl-(version).tar.gz
cd /usr/loca/src/gsdl-(version)
source /usr/local/src/gsdl-(version)/src/Unix/setup.bash
* Change permissions to world writeable on Greenstone's config
chmod -R 777 /opt/greenstone/etc
* Change permissions to world writeable on Greenstone's tmp
chmod -R 777 /opt/greenstone/tmp
* Setup java for Greenstone Librarian Interface
* Change to /opt/greenstone/gli directory
* Run
* Run java keytool
/usr/lib/jvm/java/jre/bin/keytool -genkey -alias 1234 -keystore appletstore -storepass greenstone
What is your first and last name?
What is the name of your organizational unit?
What is the name of your organization?
What is the name of your City or Locality?
What is the name of your State or Province?
What is the two-letter country code for this unit?
Is CN=Greenstone, OU=Learning Technologies, O=Learning Technologies, L=Nampa, ST=ID, C=US correct?
Enter key password for 1234
* Run
* Run java jarsigner
/usr/bin/jarsigner -keystore appletstore -signedjar SignedGatherer.jar GLI.jar 1234
Enter Passphrase for keystore: greenstone
Enter key password for 1234: 1234
* Move signed jar file
mv SignedGatherer.jar /opt/greenstone/gsdl/bin/java/
* Add full path to perl in /opt/greenstone/cgi-bin/ on
line 1
#!/usr/bin/perl -w
* Make collect directory writeable
chmod -R 777 /opt/greenstone/gsdl/collect
* Restart apache
/etc/init.d/apache2 restart
* Access the running Greenstone at: