Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] MetadataConfigurationStorageManager.executeQuery: Connection to xml database failed

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] MetadataConfigurationStorageManager.executeQuery: Connection to xml database failed


Chronological Thread 
  • From: Fausto Vetter <>
  • To:
  • Cc: perfsonar-user <>
  • Subject: Re: [perfsonar-user] MetadataConfigurationStorageManager.executeQuery: Connection to xml database failed
  • Date: Fri, 27 Mar 2009 16:00:32 +0000

Hi Andy,

The error means you are not able to access the Exist Database. It seems
that during the configuration phase something went wrong. Did you follow
the procedure in the manual? You can check few things to ensure that the
database is working fine:

- Go to http://hostname/exist and go to the admin area (Administration
menu -> Admin)
- Login using the username and password that you created during the
perfSONAR RRD-MA configuration phase
- Go to browse collection
- choose rrdmaconfig
- see that the xml file you created is there and with the right
permissions (owner: rrdmaservice and group: dba)
- click on the xml file to see the file
- Finally logout the web-admin

If the configuration and stitching phases went fine, you should be able
to do these steps.

Also, go to the webadmin of the service
(http://hostname:port/geant2-java-rrd-ma/), go to advanced configuration
and check the following:
- component.ma.xmldb.db_uri
- component.ma.xmldb.db_username
- component.ma.xmldb.db_adminpassword
- component.ma.xmldb.db_password

These information should be correct.

The best way to get it running is to use the basic configuration steps.
Fill in everything properly and it should create everything. On the
worst case, uninstall and install it from scratch.

Any doubt, get in touch.

Cheers,

u9223508 wrote:
> Dear all :
> When I using perfSONAR UI/interface to show my MA utilization , can’t shown
> any data from my MA , and when I using perfSONAR UI/playground ,
> then input the follows query to request my geant2-java-rrd-ma
>
> <nmwg:message type="SetupDataRequest"
> id="mdrq1"
> xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
> xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
> xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";>
> <nmwg:metadata id="meta1">
> <netutil:subject id="subj1">
> <nmwgt:interface>
> </nmwgt:interface>
> </netutil:subject>
> <nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
> </nmwg:metadata>
> <nmwg:data id="1" metadataIdRef="meta1"/>
> </nmwg:message>
>
> But response the error message as follows :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <nmwg:message id="mdrq1_resp" messageIdRef="mdrq1"
> type="SetupDataResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
> <nmwg:metadata id="resultCodeMetadata">
> <nmwg:eventType>error.common.storage.xmldb</nmwg:eventType>
> </nmwg:metadata>
> <nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
> metadataIdRef="resultCodeMetadata">
> <nmwgr:datum
> xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>MetadataConfigurationStorageManager.executeQuery:
> Connection to xml database failed</nmwgr:datum>
> </nmwg:data>
> </nmwg:message>
>
>
> But when I using echo request it’s response “success.echo”, Then self-test
> request is response as follows :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <nmwg:message id="message1238071563_resp"
> messageIdRef="message1238071563" type="EchoResponse"
> xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
> <nmwg:metadata id="localhost.-2b9cd1f:11f88790d11:-62f6">
>
> <nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
> </nmwg:metadata>
> <nmwg:data id="localhost.-2b9cd1f:11f88790d11:-62ef"
> metadataIdRef="localhost.-2b9cd1f:11f88790d11:-62f6">
> <nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
> metadataIdRef="resultCodeMetadata">
> <nmwgr:datum
> xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>MetadataConfigurationStorageManager.executeQuery:
> Connection to xml database failed</nmwgr:datum>
> </nmwg:data>
> <nmwg:metadata id="resultCodeMetadata">
>
> <nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/ma/geant2-java-rrd-ma-3.1/random-fetch-test/failure/1.0</nmwg:eventType>
> </nmwg:metadata>
> </nmwg:data>
> </nmwg:message>
>
> Any ideas on how to solve this?
>
>
>
>
> MA : pS java rrd ma 3.1
> OS : ubuntu 8.10
>
> Cheers
> andy
>
>
>
>


--
______________________________________________________________________

Fausto Vetter
Services Support/Network Engineer

DANTE - www.dante.net

Tel: +44 (0)1223 371 357
Fax: +44 (0)1223 371 371
Email:



City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________




Archive powered by MHonArc 2.6.16.

Top of Page