[greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote

From feng wang
DateSun Feb 3 17:37:04 2008
Subject [greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote
In-Reply-To (1856-150-135-161-49-1201561971-squirrel-webmail-scms-waikato-ac-nz)
Hi
Sorry, that i send the Mail so later.
Here is the web.xml and err messenger is:

Exception in thread "launch browser" java.lang.NullPointerException
at org.greenstone.server.BrowserLauncher.<init>(BrowserLauncher.java:26)
at org.greenstone.server.Server.launchBrowser(Server.java:149)
at org.greenstone.server.ServerControl$5.run(ServerControl.java:210)
at java.lang.Thread.run(Thread.java:595)
I installed the GSDL under /opt/Greenstone3
Hope, you can help me!
thanks
Regards
Feng Wang

-------- Original-Nachricht --------
> Datum: Tue, 29 Jan 2008 12:12:51 +1300 (NZDT)
> Von: qq6@cs.waikato.ac.nz
> An: "feng wang" <wangfeng77@gmx.de>
> CC: greenstone-users@list.scms.waikato.ac.nz
> Betreff: Re: [greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote

> Hi Feng
>
> Could you send me the greenstone3/packages/tomcat/conf/web.xml file? And
> tell me what displayed error message is?
>
> Quan
>
> > hi,
> > no, i use the embedded tomcat for GSDL. and just changed the file in
> > GREENSTONE3HOME/packages/tomcat and start the CGI-Servlet for GSDL,just
> > like the page of Remote Greenstone wrote. I think, i didn't wrong for
> > remote GSDL. But don't know,why comes the err?? pls help me!
> >
> > Regards
> > Feng Wang
> >
> >
> >
> > -------- Original-Nachricht --------
> >> Datum: Tue, 29 Jan 2008 11:35:17 +1300 (NZDT)
> >> Von: qq6@cs.waikato.ac.nz
> >> An: "feng wang" <wangfeng77@gmx.de>
> >> CC: greenstone-users@list.scms.waikato.ac.nz
> >> Betreff: Re: [greenstone-users] how to build Application which can
> >> search , get and manage the Object in GSDL remote
> >
> >> Hi Feng
> >>
> >> Sorry, I didn't know that you are using Greenstone3.
> >>
> >> > Hi,
> >> > thanks for your Answer!
> >> >
> >> > But i have still some questions that i didn't get the right Answer.
> >> > i have installed the version GSDL 3 instead of 2,8. Thus i checked
> the
> >> > page about the Remote Greenstone 3 and tried to change the Options
> for
> >> it.
> >> >
> >> > But i stopped at the steps from 2 to 5
> >> > For the CGI-executable of Servlet i have deleted the <!-- ...--> Set
> >> for
> >> > CGI Servlet to enable the the Servlet and added the parament
> >> > <init-param>
> >> > <param-name>executable</param-name>
> >> > <param-value>/usr/bin/perl</param-alue>
> >> > </init-param>
> >> > in the Servlet. Then start the tomcat/GSDL again.
> >> >
> >>
> >> I guess you tried to use an independent Tomcat installed on you
> machine,
> >> didn't you? Actually, a Tomcat has been embedded into Greenstone3 which
> >> is
> >> at GREENSTONE3HOME/packages/tomcat, and customised particularly for
> >> Greenstone3. It has to be used for serving Greenstone3. Please read the
> >> README.txt under the GREENSTONE3HOME folder for details.
> >>
> >> > But i got the err page now. And the Remote Function doesn't work.
> >> > i have changed the gsdl3site.cfg file for
> >> > gsdl3srchome /opt/Greenstone3
> >> > gsdlhome /opt/Greenstone3/gs2build
> >> > because i installed the GSDL3 under /opt/Greenstone3.
> >> > Please help me!
> >> > I didn't find the gliserver.pl file or the order cgi-bin.
> >> > Should i study the "greenstone3/web/WEB-INF/cgi/gliserver4gs3.pl"
> >> instead
> >> > the gliserver.pl file. I think it's the right one for GSDL3
> >>
> >> Yes, the gliserver.pl file is used for Greenstone2 remote GLI only.
> >>
> >> >
> >> > Regards
> >> > Feng Wang
> >> >
> >> > -------- Original-Nachricht --------
> >> >> Datum: Thu, 24 Jan 2008 11:54:18 +1300 (NZDT)
> >> >> Von: qq6@cs.waikato.ac.nz
> >> >> An: "feng wang" <wangfeng77@gmx.de>
> >> >> CC: greenstone-users@list.scms.waikato.ac.nz
> >> >> Betreff: Re: [greenstone-users] how to build Application which can
> >> >> search , get and manage the Object in GSDL remote
> >> >
> >> >> Hi Feng
> >> >>
> >> >> > Hi everyone,
> >> >> >
> >> >> > I am writing the master thesis about the DLs. My supervisor asks
> me
> >> to
> >> >> > write a program that can get the connect remote to the Greenstone
> >> >> Server.
> >> >> >
> >> >> To understand how the remote GLI works, you can start from reading
> >> the
> >> >> document
> http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone,
> >> >> and
> >> >> then install Greenstone and a stand along GLI application yourself.
> >> You
> >> >> will get some ideas when trying to connect the GLI to the Greenstone
> >> >> server remotely.
> >> >>
> >> >> In Greenstone, importing documents and building collections are all
> >> done
> >> >> by calling Perl scripts. So does the remote GLI. But the remote GLI
> >> >> calls
> >> >> the Perl scripts through CGI because of in a network envrionment.
> >> >> Studying
> >> >> the GSDLHOME/cgi-bin/gliserver.pl file will help you understand the
> >> >> principle of remote communication before starting your
> >> implementation.
> >> >>
> >> >>
> >> >> > Mainly the GUI should have two functions
> >> >> >
> >> >> > 1.It can play as one normal user/reader that search and get the
> >> Docs
> >> >> > remote, just like a browser
> >> >> >
> >> >> Yes, it can
> >> >> > 2. Or it can also work as Admin, that manager the collection
> remote
> >> >> ,like
> >> >> > ingest or delete the Docs or Object in GSDL Server and DB by the
> >> >> command
> >> >> > from the my GUI Application.
> >> >> >
> >> >> Yes. Look at the Authentication part of the document for the detail
> >> >>
> >> >> > I know the first Requirement is possible. But still how can I
> >> >> implement
> >> >> > it(pls, I need some advices too)!
> >> >> >
> >> >> > But the second one, I do not know, whether it is possible. I do
> >> know
> >> >> that
> >> >> > GSDL has a Admin Interface. And the GUI Program can local manage
> >> >> > (add/rename etc□) the object in the Repository of GSDL. How
> can
> >> I
> >> >> do it
> >> >> > too remote with my GUI? And how can I get the Admin- privilege?
> The
> >> >> GSDL
> >> >> > does not have the API that can support the Function remote.
> >> >> >
> >> >> > Does someone tell me, whether it is possible! And How? Please help
> >> me,
> >> >> > because it is very important to me, thanks! please, please help it
> >> to
> >> >> > me□
> >> >> > Regards
> >> >> > Feng
> >> >> >
> >> >> > --
> >> >> > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
> >> >> > Alle Infos und kostenlose Anmeldung:
> >> http://www.gmx.net/de/go/freemail
> >> >> >
> >> >> > _______________________________________________
> >> >> > greenstone-users mailing list
> >> >> > greenstone-users@list.scms.waikato.ac.nz
> >> >> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >> >> >
> >> >>
> >> >
> >> > --
> >> > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> >> > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> >> >
> >> >
> >>
> >
> > --
> > Psssst! Schon vom neuen GMX MultiMessenger geh□rt?
> > Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> >
> >
>

--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: web.xml
Type: text/xml
Size: 50515 bytes
Desc: not available
Url : https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080201/4f0d5fba/web-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsdl3site.cfg
Type: application/octet-stream
Size: 270 bytes
Desc: not available
Url : https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080201/4f0d5fba/gsdl3site-0001.obj