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

From feng wang
DateFri Mar 7 09:56:42 2008
Subject [greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote
In-Reply-To (1803-150-135-161-52-1202767176-squirrel-webmail-scms-waikato-ac-nz)
Hi Quan,

Thanks for your incredible Support. And sorry that I disappeared for a while.

I have tried to install the GSDL 3 in our Server of The University Duisburg in two ways. From the binary file and from the source.

By installing with the Binary File the erro is :

This application requires a Java Run Time Environment (JRE)
to run. Searching for one on your computer was not successful.
Please use the command line switch -is:javahome to specify
a valid JRE. For more help use the option -is:help.

We have the Java from 1.4 to 1.6 in the Server. But the Default Version is 1.4.2. So I tried to get the command with path of the current java. The Install File said still, that it can?t find the JRE for Installing the GSDL. I had the same problem, while I tried to install the GSDL in my Linux. At that time I moved the java the order of /opt and the problem is then solved. But I can?t remove the order of java in our server. It?s not the most important problem, because I must install the GSDL remote by using the Putty in console version.

So I thought that I shall install the GSDL from source file with ant. Typing the ?ant install? and searching the right target in the build.xml. But the exception was
file:/home/fwang/greenstone-3.03/build.xml:94: Unexpected element "condition".

I think, I should modify the build.xml or build.properties. But I don?t know, how can I do? Please help me.

Regards

Feng wang


Ps: i got the web.xml and will try to reconfigurate it again to enable the remote GLI. And the Collector is remote GLI??


-------- Original-Nachricht --------
> Datum: Tue, 12 Feb 2008 10:59:36 +1300 (NZDT)
> Von: qq6@cs.waikato.ac.nz
> An: 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 Wang
>
> The web.xml file is attached with this mail. please replace the same file
> under GREENSTONE3/packages/tomcat/conf.
>
> The CGI API is provided in a .jar file that you need to rename
> GREENSTONE3/packages/tomcat/server/lib/servlets-cgi.renametojar to
> servlets-cgi.jar.
>
> Please let me know any progress
>
> Quan
> >
> >
> >
> >
> >> 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?
> >>>

--
Psssst! Schon vom neuen GMX MultiMessenger gehâ–¡rt?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger