Re: [greenstone-devel] GLI Applet

From Stephen DeGabrielle
DateWed, 11 May 2005 13:33:29 +0930
Subject Re: [greenstone-devel] GLI Applet
In-Reply-To (42817AAC-40406-cs-waikato-ac-nz)
Hi Michael,

Here are some examples;
s.
-----
Setting library_url to http://155.205.38.151/cgi-bin/library...
Start called
**** launch url = http://155.205.38.151/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=applettest&about=Applet+test&c=sg9-applette
Exception in GShell.runRemote() - unexpected
java.io.FileNotFoundException: http://155.205.38.151/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=applettest&about=Applet+test&c=sg9-applette
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.greenstone.gatherer.shell.GShell.runRemote(GShell.java:349)
    at org.greenstone.gatherer.shell.GShell.run(GShell.java:538)
    at org.greenstone.gatherer.collection.CollectionManager.makeCollection(CollectionManager.java:940)
    at org.greenstone.gatherer.collection.CollectionManager.createCollection(CollectionManager.java:309)
    at org.greenstone.gatherer.gui.GUIManager$NewCollectionTask.run(GUIManager.java:717)
**** launch url = http://155.205.38.151/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=aaa&about=aaa&c=sg9-aaa
Exception in GShell.runRemote() - unexpected
java.io.FileNotFoundException: http://155.205.38.151/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=aaa&about=aaa&c=sg9-aaa
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.greenstone.gatherer.shell.GShell.runRemote(GShell.java:349)
    at org.greenstone.gatherer.shell.GShell.run(GShell.java:538)
    at org.greenstone.gatherer.collection.CollectionManager.makeCollection(CollectionManager.java:940)
    at org.greenstone.gatherer.collection.CollectionManager.createCollection(CollectionManager.java:309)
    at org.greenstone.gatherer.gui.GUIManager$NewCollectionTask.run(GUIManager.java:717)
Stop called
Destroy called
Done gatherer exit.


---

Start called
**** launch url = http://155.205.38.151/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=acollectiontitle&about=acollection+description&c=sg9-acollect
Exception in GShell.runRemote() - unexpected
java.io.FileNotFoundException: http://155.205.38.151/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=acollectiontitle&about=acollection+description&c=sg9-acollect
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.greenstone.gatherer.shell.GShell.runRemote(GShell.java:349)
    at org.greenstone.gatherer.shell.GShell.run(GShell.java:538)
    at org.greenstone.gatherer.collection.CollectionManager.makeCollection(CollectionManager.java:940)
    at org.greenstone.gatherer.collection.CollectionManager.createCollection(CollectionManager.java:309)
    at org.greenstone.gatherer.gui.GUIManager$NewCollectionTask.run(GUIManager.java:717)
--

Java Plug-in 1.5.0_02
Using JRE version 1.5.0_02 Java HotSpot(TM) Client VM
User home directory = C:Documents and SettingsSG9
----------------------------------------------------
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 and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
**** launch url = http://155.205.38.151/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=acollectiontitle&about=A+collection+description&c=sg9-acollect
Exception in GShell.runRemote() - unexpected
java.io.FileNotFoundException: http://155.205.38.151/cgi-bin/launch?cmd=mkcol.pl&win31compat=false&title=acollectiontitle&about=A+collection+description&c=sg9-acollect
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.greenstone.gatherer.shell.GShell.runRemote(GShell.java:349)
    at org.greenstone.gatherer.shell.GShell.run(GShell.java:538)
    at org.greenstone.gatherer.collection.CollectionManager.makeCollection(CollectionManager.java:940)
    at org.greenstone.gatherer.collection.CollectionManager.createCollection(CollectionManager.java:309)
    at org.greenstone.gatherer.gui.GUIManager$NewCollectionTask.run(GUIManager.java:717)
---




On 5/11/05, Michael Dewsnip <mdewsnip@cs.waikato.ac.nz> wrote:
Hi Stephen,

Can you please open the Java Console and see if there are any errors or
exceptions shown?

All the best,

Michael


Stephen DeGabrielle wrote:

> Hi, I appear to have misconfigured something with the GLI applet...
> (Possible in the webserver)
>
> I have it all going as per the instruction on
> http://www.greenstone.org/cgi-bin/library?e=&a=p&p=faqinst#gliapplet
> <http://www.greenstone.org/cgi-bin/library?e=&a=p&p=faqinst#gliapplet>
>
> It starts OK from the browser, but when I get to the end of the 'new
> collection' dialog (just after I select what metadata types to use) I
> get the following error form the GLI;
> +-----------------------------------------------------------------+
> + 'An error has occurred and the collection could not be created' +
> +                               [ok]                              +
> +-----------------------------------------------------------------+
>
> Any Ideas?
>
> I assume it is trying to write to either the local hard drive, a
> location on the server, or both?
>
> I am running;
> Greenstone server version 2.60 (Default MacOS X 10.3/Apache)
> GLI Applet freshly made from CVS last night (could be my problem)
>
>
> Thanks,
>
> Stephen De Gabrielle
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-devel mailing list
>greenstone-devel@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>
>




--

--

Stephen De Gabrielle
-- http://users.bigpond.com/spdegabrielle/automata