[greenstone-users] Re: Setting the remote Greenstone for implementing the remtoe Application later

From feng wang
DateSat Jul 19 19:30:55 2008
Subject [greenstone-users] Re: Setting the remote Greenstone for implementing the remtoe Application later
In-Reply-To (51869-72-200-121-229-1216163161-squirrel-webmail-scms-waikato-ac-nz)
Hi Quan,
At first i must thank you for your support!! Thanks!!

Today i reinstalled the greenstone 3 and the remote GSDL Server in my Linux System again. So i deleted the old GSDL and downloaded a new copy of binary version 3.0.3 of GSDL 3 from sourceforge. Tried to install and modify the remote Server of Greenstone. I did everythings what in the page(http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone3) wrote. I did some Tests in the 2 demo collections of Greenstone(adding new pdf or txt file). But still get the exception.
What i can do now:
So i can now view the collection and i can add new folder too.But i can't add any new file in the collection and any change for the existing file in collection will not be saved!!

I have tried to create new collection within remote GLI. Successfully created in the remote way! And i can see the new collection in the browser and in the collect folder of /web/sites/localsite. But i can't find the collection in the local GLI. Do you know why???? I tried to set the new collection as "personal col" or "not personal col" boths

Hope that you can help me! I send now the files what i changed!
PS: the homeURL of my GSDL is: http://localhost:8480/greenstone3/

Version: trunk

gliserver args: cmd=download-web-xml-file&file=web.xml
gliserver args: cmd=get-site-names
Deleting user's local collect directory...
Done.
gliserver args: cmd=get-script-options&script=classinfo.pl&xml=&language=en&list
all
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&lista
ll
gliserver args: cmd=download-collection-configurations
gliserver args: cmd=download-collection&c=gs2mgdemo
gliserver args: cmd=get-script-options&script=buildcol.pl&xml=&language=en
gliserver args: cmd=get-script-options&script=import.pl&xml=&language=en
gliserver args: cmd=get-script-options&script=classinfo.pl&xml=&language=en&list
all&collection=gs2mgdemo
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&lista
ll&collection=gs2mgdemo
gliserver args: cmd=get-script-options&script=classinfo.pl&xml=&language=en&clas
sifier=Hierarchy
gliserver args: cmd=get-script-options&script=classinfo.pl&xml=&language=en&clas
sifier=AZList
gliserver args: cmd=get-script-options&script=classinfo.pl&xml=&language=en&clas
sifier=AZCompactList
gliserver args: cmd=get-script-options&script=classinfo.pl&xml=&language=en&clas
sifier=List
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=GAPlug
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=HTMLPlug
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=MetadataXMLPlug
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=ArcPlug
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=RecPlug
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=gs2mgdemo&file=gs2mgdemo-1213577739
019.zip&directory=import&zip=true
WARNING: In event dispatch thread, returning immediately...
Unexpected failure: HTTP/1.1 500 Internal Server Error
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=gs2mgdemo&file=gs2mgdemo-1213577740
155.zip&directory=&zip=true
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=PDFPlug
WARNING: In event dispatch thread, returning immediately...
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=gs2mgdemo&file=gs2mgdemo-1213577752
586.zip&directory=&zip=true
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=gs2mgdemo&file=gs2mgdemo-1213577785
690.zip&directory=&zip=true
WARNING: In event dispatch thread, returning immediately...
Script name: import.pl
Collection name: gs2mgdemo
Script args: &gli=&language=en
gliserver args: cmd=run-script&c=gs2mgdemo&script=import.pl&language=en&gli=&lan
guage=en
gliserver args: cmd=download-collection-archives&c=gs2mgdemo
Script name: buildcol.pl
Collection name: gs2mgdemo
Script args: &gli=&language=en&removeold=
gliserver args: cmd=run-script&c=gs2mgdemo&script=buildcol.pl&language=en&gli=&l
anguage=en&removeold=
gliserver args: cmd=download-collection-file&c=gs2mgdemo&file=building%7CbuildCo
nfig.xml
gliserver args: cmd=delete-collection-file&c=gs2mgdemo&file=index
gliserver args: cmd=move-collection-file&c=gs2mgdemo&source=building&target=inde
x
WARNING: In event dispatch thread, returning immediately...
gliserver args: cmd=delete-collection-file&c=gs2mgdemo&file=gli.lck
Script name: mkcol.pl
Collection name: testdemo
Script args: &gs3mode=&win31compat=false&creator=greenstone%40cs.waikato.ac.nz
gliserver args: cmd=run-script&c=testdemo&script=mkcol.pl&language=en&gs3mode=&w
in31compat=false&creator=greenstone%40cs.waikato.ac.nz
gliserver args: cmd=download-collection&c=testdemo
gliserver args: cmd=new-collection-directory&c=testdemo&directory=import
gliserver args: cmd=get-script-options&script=buildcol.pl&xml=&language=en
gliserver args: cmd=get-script-options&script=import.pl&xml=&language=en
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=testdemo&file=testdemo-121357795751
4.zip&directory=&zip=true
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=testdemo&file=testdemo-121357795913
4.zip&directory=&zip=true
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=ZIPPlug
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=TEXTPlug
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=EMAILPlug
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.plaf.basic.BasicProgressBarUI.updateSizes(BasicProgressBa
rUI.java:428)
at javax.swing.plaf.basic.BasicProgressBarUI.getBox(BasicProgressBarUI.j
ava:385)
at javax.swing.plaf.basic.BasicProgressBarUI.paintIndeterminate(BasicPro
gressBarUI.java:536)
at javax.swing.plaf.metal.MetalProgressBarUI.paintIndeterminate(MetalPro
gressBarUI.java:124)
at javax.swing.plaf.basic.BasicProgressBarUI.paint(BasicProgressBarUI.ja
va:350)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:743)
at javax.swing.JComponent.paint(JComponent.java:1006)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
at javax.swing.JComponent._paintImmediately(JComponent.java:4868)
at javax.swing.JComponent.paintImmediately(JComponent.java:4675)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=RTFPlug
gliserver args: cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
n=WordPlug
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=testdemo&file=testdemo-121357799567
5.zip&directory=&zip=true
WARNING: In event dispatch thread, returning immediately...
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=testdemo&file=testdemo-121357814805
1.zip&directory=&zip=true
WARNING: In event dispatch thread, returning immediately...
gliserver args: cmd=delete-collection-file&c=testdemo&file=metadata%7Cdublin.mds
WARNING: In event dispatch thread, returning immediately...
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=testdemo&file=testdemo-121357822495
2.zip&directory=&zip=true
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=testdemo&file=testdemo-121357826566
9.zip&directory=import&zip=true
Unexpected failure: HTTP/1.1 500 Internal Server Error
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=testdemo&file=testdemo-121357827252
3.zip&directory=import&zip=true
Unexpected failure: HTTP/1.1 500 Internal Server Error
WARNING: In event dispatch thread, returning immediately...
gliserver URL: http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
gliserver args: cmd=upload-collection-file&c=testdemo&file=testdemo-121357828575
2.zip&directory=&zip=true
Script name: import.pl
Collection name: testdemo
Script args: &gli=&language=en&removeold=
gliserver args: cmd=run-script&c=testdemo&script=import.pl&language=en&gli=&lang
uage=en&removeold=
gliserver args: cmd=download-collection-archives&c=testdemo
Script name: buildcol.pl
Collection name: testdemo
Script args: &gli=&language=en&removeold=
gliserver args: cmd=run-script&c=testdemo&script=buildcol.pl&language=en&gli=&la
nguage=en&removeold=
gliserver args: cmd=download-collection-file&c=testdemo&file=building%7CbuildCon
fig.xml
gliserver args: cmd=delete-collection-file&c=testdemo&file=index
gliserver args: cmd=move-collection-file&c=testdemo&source=building&target=index
WARNING: In event dispatch thread, returning immediately...
gliserver args: cmd=delete-collection-file&c=testdemo&file=gli.lck
Exiting, number of jobs on queue: 0
Done!


-------- Original-Nachricht --------
> Datum: Wed, 16 Jul 2008 11:06:01 +1200 (NZST)
> Von: qq6@cs.waikato.ac.nz
> An: "feng wang" <wangfeng77@gmx.de>
> CC: greenstone3@list.scms.waikato.ac.nz
> Betreff: Re: Setting the remote Greenstone for implementing the remtoe Application later

> Hi Feng Wang
>
> Yes, you did right of chmod. I looked at the outputs again, seems to me
> that the command "upload-collection-file" does work for the first three
> collections, but failed on the forth. You may either check the forth
> collection to see what's wrong in there or remove that collection to see
> whether the remote GLI works on the other three.
>
> Okay, you can send me the web.xml file if you want.
>
> Regards
> Quan
>
> > Hi Quan,
> > I installed the GS3.0.3 from the homepage of greenstone
> > 3(http://www.greenstone.org/greenstone3-home). not from SVN. I did try
> to
> > intall the greenstone 3 before as Anupama suggested to me. but the
> version
> > what i use now is from the homepage.
> > I don't know why i can't download and upload the file now. Did i set the
> > option of chmod right? I can send the file which i modified if you want
> > to. Thank you!!!
> > Regards
> > Feng Wang
> >
> > -------- Original-Nachricht --------
> >> Datum: Wed, 16 Jul 2008 09:20:56 +1200 (NZST)
> >> Von: qq6@cs.waikato.ac.nz
> >> An: "feng wang" <wangfeng77@gmx.de>
> >> CC: greenstone3@list.scms.waikato.ac.nz
> >> Betreff: Re: Setting the remote Greenstone for implementing the remtoe
> >> Application later
> >
> >> Hi Feng Wang
> >>
> >> How did you get GS3? I downloaded GS3 from
> >> http://www.greenstone.org/greenstone3-home. After modified the web.xml
> >> file, the remote GLI works fine on my computer.
> >>
> >> The error "HTTP/1.1 500 Internal Server Error" was the cause that your
> >> remote GLI couldn't upload and download files. I solved this problem in
> >> the last release.
> >>
> >> I guess you might get the source codes from SVN. The source codes
> >> directly
> >> from SVN haven't been tested thoroughly, because greenstone developers
> >> are
> >> working on them at the same time.
> >>
> >> You might have to update the source codes or try to download a
> >> distributed
> >> GS3.
> >>
> >>
> >> Regards
> >> Quan
> >>
> >>
> >> > Hi,
> >> > Like you told me about before, i have looked the page for remote
> >> > greenstone
> >> 3(http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone3)
> >> > and tried to use the remote client client to manage the collections
> of
> >> > greenstone 3. There is a problem by using the gli of trunk mode which
> >> i
> >> > can't solve it. I can't change anything for files in the collections.
> >> I
> >> > tried to add new docs in the collection or change the DC Metadata for
> >> a
> >> > existing Doc in the colletion. It didn't work,sorry!
> >> > I think,something must be not right done. I guess, i didn't tip right
> >> by
> >> > the step 7 about the installation the remote Greenstone 3 for the
> >> server
> >> > side(use the chmod). chmod a+w collect--> setting the collect
> >> writeable
> >> >
> >> > By the way i only use the stand-alone GLI client to test the remote
> >> > greenstone. I think the applet doesn't mean anything to me. I wanna
> >> just
> >> > take a look how the remote gsdl works!
> >> >
> >> > Regards
> >> > Feng Wang
> >> >
> >> > PS: i put the messeng in shell here. Maybe it makes a bit helpful to
> >> > unterstand my question.
> >> >
> >> > Running the Greenstone Librarian Interface...
> >> > Version: trunk
> >> >
> >> > gliserver args: cmd=download-web-xml-file&file=web.xml
> >> > gliserver args: cmd=get-site-names
> >> > Deleting user's local collect directory...
> >> > Done.
> >> > gliserver args:
> >> > cmd=get-script-options&script=classinfo.pl&xml=&language=en&lisall
> >> > gliserver args:
> >> > cmd=get-script-options&script=pluginfo.pl&xml=&language=en&listll
> >> > gliserver args: cmd=download-collection-configurations
> >> > gliserver args: cmd=download-collection&c=gsdldocs
> >> > gliserver args:
> >> cmd=get-script-options&script=buildcol.pl&xml=&language=en
> >> > gliserver args:
> >> cmd=get-script-options&script=import.pl&xml=&language=en
> >> > gliserver args:
> >> >
> >>
> cmd=get-script-options&script=classinfo.pl&xml=&language=en&lisall&collection=gsdldocs
> >> > gliserver args:
> >> >
> >>
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&listll&collection=gsdldocs
> >> > gliserver args:
> >> >
> >>
> cmd=get-script-options&script=classinfo.pl&xml=&language=en&clasifier=AZList
> >> > gliserver args:
> >> >
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=ZIPPlug
> >> > gliserver args:
> >> >
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=GAPlug
> >> > gliserver args:
> >> >
> >>
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=TEXTPlug
> >> > gliserver args:
> >> >
> >>
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=EMAILPlug
> >> > gliserver args:
> >> >
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=PDFPlug
> >> > gliserver args:
> >> >
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=RTFPlug
> >> > gliserver args:
> >> >
> >>
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=WordPlug
> >> > gliserver args:
> >> >
> >>
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=MetadataXMLPlug
> >> > gliserver args:
> >> >
> >>
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=HTMLPlug
> >> > gliserver args:
> >> >
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=ArcPlug
> >> > gliserver args:
> >> >
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugn=RecPlug
> >> > WARNING: In event dispatch thread, returning immediately...
> >> > gliserver URL:
> >> http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
> >> > gliserver args:
> >> >
> >>
> cmd=upload-collection-file&c=gsdldocs&file=gsdldocs-121356508169.zip&directory=&zip=true
> >> > gliserver args:
> >> > cmd=new-collection-directory&c=gsdldocs&directory=import%7CTest
> >> > gliserver URL:
> >> http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
> >> > gliserver args:
> >> >
> >>
> cmd=upload-collection-file&c=gsdldocs&file=gsdldocs-121356511713.zip&directory=&zip=true
> >> > gliserver args:
> >> > cmd=delete-collection-file&c=gsdldocs&file=import%7CTest%7Cdumm.nul
> >> > gliserver URL:
> >> http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
> >> > gliserver args:
> >> >
> >>
> cmd=upload-collection-file&c=gsdldocs&file=gsdldocs-121356515819.zip&directory=&zip=true
> >> > gliserver URL:
> >> http://localhost:8480/greenstone3//cgi-bin/gliserver4gs3.pl
> >> > gliserver args:
> >> >
> >>
> cmd=upload-collection-file&c=gsdldocs&file=gsdldocs-121356516954.zip&directory=import&zip=true
> >> > Unexpected failure: HTTP/1.1 500 Internal Server Error
> >> > Script name: import.pl
> >> > Collection name: gsdldocs
> >> > Script args: &gli=&language=en
> >> > gliserver args:
> >> >
> cmd=run-script&c=gsdldocs&script=import.pl&language=en&gli=&lanuage=en
> >> > gliserver args: cmd=download-collection-archives&c=gsdldocs
> >> > Script name: buildcol.pl
> >> > Collection name: gsdldocs
> >> > Script args: &gli=&language=en&removeold=
> >> > gliserver args:
> >> >
> >>
> cmd=run-script&c=gsdldocs&script=buildcol.pl&language=en&gli=&lnguage=en&removeold=
> >> > gliserver args:
> >> >
> cmd=download-collection-file&c=gsdldocs&file=building%7CbuildCofig.xml
> >> > gliserver args: cmd=delete-collection-file&c=gsdldocs&file=index
> >> > gliserver args:
> >> > cmd=move-collection-file&c=gsdldocs&source=building&target=inde
> >> > WARNING: In event dispatch thread, returning immediately...
> >> > gliserver args: cmd=delete-collection-file&c=gsdldocs&file=gli.lck
> >> > Exiting, number of jobs on queue: 1
> >> > Done!
> >> > --
> >> > GMX startet ShortView.de. Hier findest Du Leute mit Deinen
> Interessen!
> >> > Jetzt dabei sein:
> >> > http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
> >> >
> >>
> >>
> >>
> >
> > --
> > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: To Greenstone Quan.tar.gz
Type: application/x-tgz
Size: 15975 bytes
Desc: not available
Url : https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080717/e933a66b/ToGreenstoneQuan.tar-0001.bin