Re: [greenstone-users] GLI as applet

From Chaitra Rao
DateMon, 10 Jan 2005 11:38:04 +0530 (IST)
Subject Re: [greenstone-users] GLI as applet
In-Reply-To (41E1FA19-5080407-cs-waikato-ac-nz)
Hi Michael,
I tried the solution u suggested, but when i run the jarsigner, it
throws an error
jarsigner error: java.lang.RuntimeException: keystore load:
/home/gsdl/gsdl/gli/appletsore (No such file or directory)

Can u pls help?

Regards,
Chaitra

On Mon, 10 Jan 2005, Michael Dewsnip wrote:

> Hi,
>
> This is a bug that we have fixed for the next release. For now, you can
> get around this problem by editing
> gsdl/gli/src/org/greenstone/gatherer/Configuration.java line 201 and
> changing
>
> if (Utility.isWindows() && !perl_path.toLowerCase().endsWith(".exe")) {
>
> to
>
> if (Utility.isWindows() && perl_path != null &&
> !perl_path.toLowerCase().endsWith(".exe")) {
>
> and then repeating steps 5 - 8 of the applet FAQ entry.
>
> Regards,
>
> Michael
>
>
>
> Chaitra Rao wrote:
>
> >Hi,
> > I want to enable the option of running GLI as applet. I have followed
> >the instructions on the faq page. I am able to see the applet button but
> >when I click to run the applet, the browser window closes automatically
> >and the following error is thrown. Can someone please help:
> >--------------------------------------------------------------------
> >Java(TM) Plug-in: Version 1.4.1_02
> >Using JRE version 1.4.1_02 Java HotSpot(TM) Client VM
> >User home directory = C:Documents and Settingschaitra
> >
> >Proxy Configuration: Manual Configuration
> > Proxy:
> >http=proxy.it.iitb.ac.in:80,https=proxy.it.iitb.ac.in:80,ftp=proxy.it.iitb.ac.in:80,gopher=proxy.it.iitb.ac.in:80
> > Proxy Overrides: 10.*.*.*,*.iitb.ac.in,*.it.iitb.ac.in,<local>
> >
> >
> >
> >
> >
> >----------------------------------------------------
> >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
> >p: reload proxy configuration
> >q: hide console
> >r: reload policy configuration
> >s: dump system properties
> >t: dump thread list
> >v: dump thread stack
> >x: clear classloader cache
> >0-5: set trace level to <n>
> >----------------------------------------------------
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.<init>(Configuration.java:201)
> >
> >at org.greenstone.gatherer.Gatherer.loadConfig(Gatherer.java:668)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:178)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.getString(Configuration.java:616)
> >
> >at
> >org.greenstone.gatherer.Configuration.getLocale(Configuration.java:542)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:201)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.util.NoSuchElementException
> >
> >at java.util.StringTokenizer.nextToken(Unknown Source)
> >
> >at
> >org.greenstone.gatherer.Configuration.getLocale(Configuration.java:545)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:201)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.getString(Configuration.java:616)
> >
> >at
> >org.greenstone.gatherer.Configuration.getFont(Configuration.java:491)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:201)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.util.NoSuchElementException
> >
> >at java.util.StringTokenizer.nextToken(Unknown Source)
> >
> >at
> >org.greenstone.gatherer.Configuration.getFont(Configuration.java:494)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:201)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.getString(Configuration.java:616)
> >
> >at
> >org.greenstone.gatherer.Configuration.getString(Configuration.java:641)
> >
> >at
> >org.greenstone.gatherer.Configuration.get(Configuration.java:332)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:250)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.getString(Configuration.java:616)
> >
> >at
> >org.greenstone.gatherer.Configuration.getFont(Configuration.java:491)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:290)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.util.NoSuchElementException
> >
> >at java.util.StringTokenizer.nextToken(Unknown Source)
> >
> >at
> >org.greenstone.gatherer.Configuration.getFont(Configuration.java:494)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:290)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.getString(Configuration.java:616)
> >
> >at
> >org.greenstone.gatherer.Configuration.getFont(Configuration.java:491)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:290)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.util.NoSuchElementException
> >
> >at java.util.StringTokenizer.nextToken(Unknown Source)
> >
> >at
> >org.greenstone.gatherer.Configuration.getFont(Configuration.java:494)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:290)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.getString(Configuration.java:616)
> >
> >at
> >org.greenstone.gatherer.Configuration.get(Configuration.java:332)
> >
> >at org.greenstone.gatherer.Gatherer.setProxy(Gatherer.java:618)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:292)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.getFileAssociations(Configuration.java:483)
> >
> >at
> >org.greenstone.gatherer.file.FileAssociationManager.<init>(FileAssociationManager.java:54)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:296)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.lang.NullPointerException
> >
> >at
> >org.greenstone.gatherer.Configuration.getString(Configuration.java:616)
> >
> >at
> >org.greenstone.gatherer.Configuration.getLocale(Configuration.java:542)
> >
> >at
> >org.greenstone.gatherer.Configuration.getLanguage(Configuration.java:530)
> >
> >at
> >org.greenstone.gatherer.util.Utility.getHelpFolder(Utility.java:550)
> >
> >at
> >org.greenstone.gatherer.help.HelpFrame$ContentsModel.<init>(HelpFrame.java:182)
> >
> >at
> >org.greenstone.gatherer.help.HelpFrame.<init>(HelpFrame.java:89)
> >
> >at
> >org.greenstone.gatherer.gui.GUIManager.<init>(GUIManager.java:121)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:326)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >java.util.NoSuchElementException
> >
> >at java.util.StringTokenizer.nextToken(Unknown Source)
> >
> >at
> >org.greenstone.gatherer.Configuration.getLocale(Configuration.java:545)
> >
> >at
> >org.greenstone.gatherer.Configuration.getLanguage(Configuration.java:530)
> >
> >at
> >org.greenstone.gatherer.util.Utility.getHelpFolder(Utility.java:550)
> >
> >at
> >org.greenstone.gatherer.help.HelpFrame$ContentsModel.<init>(HelpFrame.java:182)
> >
> >at
> >org.greenstone.gatherer.help.HelpFrame.<init>(HelpFrame.java:89)
> >
> >at
> >org.greenstone.gatherer.gui.GUIManager.<init>(GUIManager.java:121)
> >
> >at org.greenstone.gatherer.Gatherer.init(Gatherer.java:326)
> >
> >at
> >org.greenstone.gatherer.GathererApplet.init(GathererApplet.java:173)
> >
> >at sun.applet.AppletPanel.run(Unknown Source)
> >
> >at java.lang.Thread.run(Unknown Source)
> >
> >Start called
> >------------------------------------------------------------------------------
> >
> >
> >Regards,
> >Chaitra
> >
> >
> >_______________________________________________
> >greenstone-users mailing list
> >greenstone-users@list.scms.waikato.ac.nz
> >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
> >
> >
>