[greenstone-users] Installing Greenstone on a Ubuntu LInux box, almost there, java errors

From Scott Mohnkern
DateThu Jun 11 01:27:25 2009
Subject [greenstone-users] Installing Greenstone on a Ubuntu LInux box, almost there, java errors
I've been working on installing Greenstone 2 on an Ubuntu Linux box,
intending to use the web interface for management. I think I'm 99% of the
way there, and the web site comes up when I go to
http://hostname/greenstone/cgi-bin/library.cgi
However, I get a Java error when I go to the librarian interface:
--------------------------------------------------------------------------------------------------------------------------
Java Plug-in 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:Documents and Settingsmohnkerns
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


load: class org.greenstone.gatherer.GathererApplet not found.
java.lang.ClassNotFoundException: org.greenstone.gatherer.GathererApplet
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:
http://home.mohnkern.com/greenstone/cgi-bin/org/greenstone/gatherer/GathererApplet.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException:
org.greenstone.gatherer.GathererApplet
----------------------------------------------------------------------------------------------------------------------------
Unfortunately I don't have a ton of expertise with Java applets, and don't
know quite how to interpret this. It looks like there may be something
missing.


I know that GatherApplet.java is there:

/usr/local/Greenstone2/gli/src/org/greenstone/gatherer/GathererApplet.java
/usr/local/Greenstone2/gli/src/org/greenstone/gatherer/GathererApplet4gs3.java

and its globally readable.


Anyone seen this before?

Scott

--
Scott Mohnkern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20090610/283d5a5c/attachment.html