Re: [greenstone-users] Password problems in remote GLI

From Leon White
DateTue, 9 Oct 2007 17:45:40 +1200
Subject Re: [greenstone-users] Password problems in remote GLI
In-Reply-To (4703FA33-4030207-cs-waikato-ac-nz)
Hi Quan,

thanks for your help, sorry I overlooked that. However, I am still having difficulties getting access to my collection. I can now see the collection in the GUI, and I am properly authenticated, however I get the following error trying to open the collection:

The collection at:
C:Documents and Settingswhite_lApplication DataGreenstoneGLIcollectdig-govdig-gov.col
cannot be opened.

The GLI won't shut down cleanly after this. A large number of Java errors appear in the command window as well, and I have attached all that at the end of this email.

Creating a new collection doesn't work either, and results in a huge long error message which I have taken a screenshot of and uploaded here:

http://piasdgserver.usp.ac.fj/project/upload/create_new.png

Is this a java problem?

Cheers
Leon


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
SAX exception The markup in the document preceding the root element must be wel
l-formed.
org.xml.sax.SAXParseException The markup in the document preceding the root ele
ment must be well-formed.
        at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java1196
)
        at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError (XM
LDocumentScanner.java626)
        at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
atch(XMLDocumentScanner.java809)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome (XMLDocumentS
canner.java381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java1081)
        at org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java436)
        at org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML (Plugin
s.java302)
        at org.greenstone.gatherer.greenstone.Plugins.loadPluginsList(Plugins.ja
va232)
        at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java462)
        at org.greenstone.gatherer.GathererProg.main (GathererProg.java80)
java.lang.NullPointerException
        at org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML(Plugin
s.java303)
        at org.greenstone.gatherer.greenstone.Plugins.loadPluginsList (Plugins.ja
va232)
        at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java462)
        at org.greenstone.gatherer.GathererProg.main(GathererProg.java80)
gliserver args cmd=download-collection-configurations
gliserver args cmd=download-collection&c=dig-gov
gliserver args cmd=get-script-options&script=buildcol.pl&xml=&language=en
SAX exception The markup in the document preceding the root element must be wel
l-formed.
org.xml.sax.SAXParseException The markup in the document preceding the root ele
ment must be well-formed.
        at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java1196
)
        at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
LDocumentScanner.java626)
        at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
atch(XMLDocumentScanner.java809)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java1081)
        at org.greenstone.gatherer.util.XMLTools.parseXML (XMLTools.java436)
        at org.greenstone.gatherer.collection.ScriptOptions.loadArguments(Script
Options.java228)
        at org.greenstone.gatherer.collection.ScriptOptions.init(ScriptOptions
.java43)
        at org.greenstone.gatherer.collection.Collection.init(Collection.java
113)
        at org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
ternal(CollectionManager.java968)
        at org.greenstone.gatherer.collection.CollectionManager.access$200 (Colle
ctionManager.java82)
        at org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
sk.run(CollectionManager.java856)
java.lang.NullPointerException
        at org.greenstone.gatherer.collection.ScriptOptions.loadArguments (Script
Options.java255)
        at org.greenstone.gatherer.collection.ScriptOptions.init(ScriptOptions
.java43)
        at org.greenstone.gatherer.collection.Collection.init(Collection.java
113)
        at org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
ternal(CollectionManager.java968)
        at org.greenstone.gatherer.collection.CollectionManager.access$200(Colle
ctionManager.java82)
        at org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
sk.run(CollectionManager.java856)
gliserver args cmd=get-script-options&script=import.pl&xml=&language=en
SAX exception The markup in the document preceding the root element must be wel
l-formed.
org.xml.sax.SAXParseException The markup in the document preceding the root ele
ment must be well-formed.
        at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java1196
)
        at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
LDocumentScanner.java626)
        at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
atch(XMLDocumentScanner.java809)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java1081)
        at org.greenstone.gatherer.util.XMLTools.parseXML (XMLTools.java436)
        at org.greenstone.gatherer.collection.ScriptOptions.loadArguments(Script
Options.java228)
        at org.greenstone.gatherer.collection.ScriptOptions.init(ScriptOptions
.java43)
        at org.greenstone.gatherer.collection.Collection.init(Collection.java
114)
        at org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
ternal(CollectionManager.java968)
        at org.greenstone.gatherer.collection.CollectionManager.access$200 (Colle
ctionManager.java82)
        at org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
sk.run(CollectionManager.java856)
java.lang.NullPointerException
        at org.greenstone.gatherer.collection.ScriptOptions.loadArguments (Script
Options.java255)
        at org.greenstone.gatherer.collection.ScriptOptions.init(ScriptOptions
.java43)
        at org.greenstone.gatherer.collection.Collection.init(Collection.java
114)
        at org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
ternal(CollectionManager.java968)
        at org.greenstone.gatherer.collection.CollectionManager.access$200(Colle
ctionManager.java82)
        at org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
sk.run(CollectionManager.java856)
gliserver args cmd=get-script-options&script=classinfo.pl&xml=&language=en&list
all&collection=dig-gov
gliserver args cmd=get-script-options&script=pluginfo.pl&xml=&language=en&lista
ll&collection=dig-gov
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=DateList
java.lang.NullPointerException
        at org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java74)

        at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java75)
        at org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyLi
stModel.java221)
        at org.greenstone.gatherer.cdm.PluginManager.init(PluginManager.java8
0)
        at org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
(CollectionDesignManager.java125)
        at org.greenstone.gatherer.cdm.CollectionDesignManager.init(Collection
DesignManager.java100)
        at org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
ternal(CollectionManager.java1007)
        at org.greenstone.gatherer.collection.CollectionManager.access$200(Colle
ctionManager.java82)
        at org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
sk.run(CollectionManager.java856)



On 10/4/07, Qiu <qq6@cs.waikato.ac.nz> wrote:
Hi Leon

I guess you logged in as user admin who belongs to group:
administrator,colbuilder. If you want the user have permission to access
all collections, *all-collections-editor *needs to be added into user's
group from the Authentication page. The detailed information about
Authentication can be found at
http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone#Authentication.

Regards
Quan

Leon White wrote:
> Hi All,
>
> still not having access to my collection, I decided to install another
> copy of greenstone in a separate folder and copy the collection over
> into the collect/ directory. I now have remote access using
> gli-client.bat , but none of the collections present in the collect
> directory appear in the list when I try to do a File/Open. I also
> cannot create a new collection: gli-client says "authentication
> failed: user is not in the required group".
>
> Can anybody help me out here?
>
> Thanks,
> Leon
>
> On 9/28/07, *Michael Dewsnip* < mdewsnip@cs.waikato.ac.nz
> <mailto: mdewsnip@cs.waikato.ac.nz>> wrote:
>
>     Hi,
>
>     If you delete the users.db file, then access the Greenstone user
>     management pages, a default users.db database should be created
>     for you with an "admin/admin" user. You should then be able to add
>     the users you need for the GLI client.
>
>     All the best,
>
>     Michael
>
>
>
>     Leon White wrote:
>>     Hi List,
>>
>>     after a year away I have returned to my collection at
>>     http://www.governance.usp.ac.fj/nav/digital_library/
>>     <http://www.governance.usp.ac.fj/nav/digital_library/ > to find
>>     that the collection has been moved from the old windows/IIS
>>     server to a new redhat linux server. i previously built
>>     collections via remote desktop to the server, but because the new
>>     one does not have a GUI, I have set up the GLI client to manage
>>     the collection remotely via the librarian interface.
>>     unfortunately it no longer recognises my password, and removing
>>     the users.db file results in the server claiming the admin user
>>     does not exist.
>>
>>     how can i regain access to the collection? why does moving the
>>     users.db file not work in this case?
>>
>>     thank you very much for your help!
>>     cheers
>>     leon
>>     ------------------------------------------------------------------------
>>
>>     _______________________________________________
>>     greenstone-users mailing list
>>
>>     greenstone-users@list.scms.waikato.ac.nz <mailto: greenstone-users@list.scms.waikato.ac.nz >
>>     https://list.scms.waikato.ac.nz/mailman/listinfo/
>>     greenstone-users < https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users>
>>
>
>
>     --
>     DL Consulting
>     Greenstone Digital Library and Digitisation Specialists
>
>     contact@dlconsulting.com <mailto: contact@dlconsulting.com>
>     www.dlconsulting.com <http://www.dlconsulting.com>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>