Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] LS and eXist

Subject: perfsonar development work

List archive

Re: [pS-dev] LS and eXist


Chronological Thread 
  • From: Michael Michalis <>
  • To: Maciej Glowiak <>
  • Cc: Loukik Kudarimoti <>, , Michael Michalis <>, Nina Jeliazkova <>, "" <>
  • Subject: Re: [pS-dev] LS and eXist
  • Date: Thu, 17 Apr 2008 13:16:07 +0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maciej Glowiak wrote:
| Loukik Kudarimoti wrote:
|> Seems like a problem with LS installation - possibly due to
|> configuration failure. Recorded as bug 413.
|>
|> Michalis, Maciej can you investigate asap please?
|>
|> Loukik.
|
| Hi,
|
| So, my understanding is that LS is correctly deployed, service is
| registered successfuly, but that change (update) is not visible in the
| database; is that right?
|
| There is also an issue with XML configuration. Running Web Admin wizard
| you need to select "no" and again "yes" in order to see all "use eXist
You can just hit yes again and the settings will appear



Michalis.
| database" settings such as username and collection. That bug was
| corrected in the newest web admin as far as I know.
|
| Maciej
|
|
|>
|> Atanas Terziyski wrote:
|>> Hi Loukik,
|>>
|>> Loukik Kudarimoti wrote:
|>>> Ahaa...good to know. Can you tell us which version of RRD MA and
|>>> which version of LS you are using? I am assuming 1.1.1 of LS and
|>>> 2.3.2 of RRD MA.
|>> RRD MA is "geant2_java-rrd-ma-x86_32-3.0rc5" installed from this
|>> package: geant2_java-rrd-ma-x86_32-3.0rc5-1.i386.rpm
|>>
|>> LS is "XML-LS-1.2" from XML-LS-1.2-1.i386.rpm package.
|>>
|>> Hope that answer is not coming too late :)
|>>
|>> Regards,
|>>
|>> Atanas
|>>
|>>
|>>> Loukik.
|>>>
|>>> Nina Jeliazkova wrote:
|>>>> Hi Loukik,
|>>>>
|>>>>
|>>>> Loukik Kudarimoti написа:
|>>>>> Hi Atanas,
|>>>>>
|>>>>> This is a known issue (bug 321). We haven't provided a fix yet
|>>>>> because LS is hardly used :)
|>>>>>
|>>>>> We should be able to give you a workaround if you need this
|>>>>> feature. Let us know.
|>>>>>
|>>>> Well, Atanas was trying to get the Lookup service running in order
|>>>> to allow me to test perfsonarUI against it. Otherwise, we don't
|>>>> need it :)
|>>>>
|>>>> Best regards,
|>>>> Nina
|>>>>> Atanas Terziyski wrote:
|>>>>>> Dear Developers,
|>>>>>>
|>>>>>> First of all thank you for the useful notes about RRD-MA service
|>>>>>> installation and configuration, everything is working fine already.
|>>>>>>
|>>>>>> So far it seems there are problems with RRD-MA service
|>>>>>> registration with LS and updating the eXist collection. Although
|>>>>>> the RRD-MA, LS and eXists log files look quite OK, the eXist
|>>>>>> collection for LS is still not updating. Any ideas?
|>>>>>>
|>>>>>> Kind regards,
|>>>>>>
|>>>>>> Atanas
|>>>>>>
|>>>>>> P.S.: some additional information:
|>>>>>>
|>>>>>> The installed services are from the following packages:
|>>>>>> * http://150.162.248.42:8081/perfsonar-tomcat-6.0.16-1.deb
|>>>>>> * http://150.162.248.42:8081/perfsonar-exist-1.2.0.7233-1.deb
|>>>>>> * http://wiki.perfsonar.net/images/files/XML-LS-1.2-1.i386.rpm
|>>>>>>
|>>>>>> and the log files
|>>>>>>
|>>>>>>
|>>>>>> for RRD-MA Log
|>>>>>> /home/perfsonar/webapps/geant2_java-rrd-ma-x86_32-3.0rc5/WEB-INF/logs/perfsonar.log
|>>>>>>
|>>>>>> -----------------------------------------------------------------------------------
|>>>>>>
|>>>>>> 2008-04-15 14:17:49,216 INFO - GenericServiceLSRegistrator:
|>>>>>> register to
|>>>>>> [http://uran.acad.bg:8080/XML-LS-1.2/services/LookupService]
|>>>>>> 2008-04-15 14:18:19,351 INFO - GenericServiceLSRegistrator:
|>>>>>> register to
|>>>>>> [http://uran.acad.bg:8080/XML-LS-1.2/services/LookupService]
|>>>>>> 2008-04-15 14:18:38,200 INFO - RequestHandler: Service received a
|>>>>>> request
|>>>>>> 2008-04-15 14:18:43,630 INFO - RequestHandler: Service sent a
|>>>>>> successful response
|>>>>>> 2008-04-15 14:18:48,850 INFO - RequestHandler: Service received a
|>>>>>> request
|>>>>>> 2008-04-15 14:18:49,894 INFO - GenericServiceLSRegistrator:
|>>>>>> register to
|>>>>>> [http://uran.acad.bg:8080/XML-LS-1.2/services/LookupService]
|>>>>>> 2008-04-15 14:18:50,135 INFO - RequestHandler: Service sent a
|>>>>>> successful response
|>>>>>>
|>>>>>>
|>>>>>>
|>>>>>> for LS Log
|>>>>>> /home/perfsonar/webapps/XML-LS-1.2/WEB-INF/logs/perfsonar.log
|>>>>>> -------------------------------------------------------------
|>>>>>> 2008-04-15 14:17:54,040 INFO - XML LS Service Engine action
|>>>>>> [LS_REGISTER] took [2062ms]
|>>>>>> 2008-04-15 14:17:54,042 INFO - RequestHandler: Service sent a
|>>>>>> successful response
|>>>>>> 2008-04-15 14:18:22,565 INFO - RequestHandler: Service received a
|>>>>>> request
|>>>>>> 2008-04-15 14:18:24,501 INFO - [LS Registration] Put new Lookup
|>>>>>> Info
|>>>>>> (http://uran.acad.bg:8080/geant2_java-rrd-ma-x86_32-3.0rc5/services/MeasurementArchiveService)
|>>>>>> metadata + 160 data elements
|>>>>>> 2008-04-15 14:18:24,536 INFO - XML LS Service Engine action
|>>>>>> [LS_REGISTER] took [1768ms]
|>>>>>> 2008-04-15 14:18:24,539 INFO - RequestHandler: Service sent a
|>>>>>> successful response
|>>>>>> 2008-04-15 14:18:52,619 INFO - RequestHandler: Service received a
|>>>>>> request
|>>>>>> 2008-04-15 14:18:54,605 INFO - [LS Registration] Put new Lookup
|>>>>>> Info
|>>>>>> (http://uran.acad.bg:8080/geant2_java-rrd-ma-x86_32-3.0rc5/services/MeasurementArchiveService)
|>>>>>> metadata + 160 data elements
|>>>>>>
|>>>>>>
|>>>>>>
|>>>>>> for eXist Log
|>>>>>> /home/perfsonar/perfsonar-tomcat/webapps/exist/WEB-INF/logs/exist.log
|>>>>>> ---------------------------------------------------------------------
|>>>>>> 2008-04-15 14:17:22,724 [http-8080-3] DEBUG (XQuery.java
|>>>>>> [compile]:169) - Compilation took 7 ms
|>>>>>> 2008-04-15 14:17:22,725 [http-8080-3] DEBUG (XQuery.java
|>>>>>> [execute]:222) - Execution took 1 ms
|>>>>>> 2008-04-15 14:17:22,726 [http-8080-3] DEBUG (HTTPUtils.java
|>>>>>> [addLastModifiedHeader]:61) - mostRecentDocumentTime:
|>>>>>> 0
|>>>>>> 2008-04-15 14:17:22,727 [http-8080-3] DEBUG (RESTServer.java
|>>>>>> [search]:921) - Found 0 in 2ms.
|>>>>>> 2008-04-15 14:17:22,737 [http-8080-3] DEBUG (XQuery.java
|>>>>>> [compile]:163) - Query diagnostics:
|>>>>>> update insert
|>>>>>>
|>>>>>> element {"nmwg:data"} {
|>>>>>> attribute {id} {
|>>>>>>
|>>>>>> http://uran.acad.bg:8080/geant2_java-rrd-ma-x86_32-3.0rc5/services/MeasurementArchiveService/54
|>>>>>>
|>>>>>> }
|>>>>>> attribute {metadataIdRef} {
|>>>>>>
|>>>>>> http://uran.acad.bg:8080/geant2_java-rrd-ma-x86_32-3.0rc5/services/MeasurementArchiveService
|>>>>>>
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwg:metadata"} {
|>>>>>> attribute {id} {
|>>>>>> meta167
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"netutil:subject"} {
|>>>>>> attribute {id} {
|>>>>>> subj167
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwgt:interface"} {
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwgt:hostName"} {
|>>>>>> text {
|>>>>>> PoP-SOF
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwgt:ifName"} {
|>>>>>> text {
|>>>>>> Gi0/1.16
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwgt:ifDescription"} {
|>>>>>> text {
|>>>>>> PoP-SOF==HCTP
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwgt:ifAddress"} {
|>>>>>> attribute {type} {
|>>>>>> ipv4
|>>>>>> }
|>>>>>> text {
|>>>>>> 194.141.252.25
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwgt:direction"} {
|>>>>>> text {
|>>>>>> in
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwgt:capacity"} {
|>>>>>> text {
|>>>>>> 1000000000
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> element {"nmwg:eventType"} {
|>>>>>> text {
|>>>>>> |>>>>>> http://ggf.org/ns/nmwg/characteristic/utilization/2.0
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> }
|>>>>>> text {
|>>>>>>
|>>>>>>
|>>>>>> }
|>>>>>> } into
|>>>>>> [root-node]/child::nmwg:store[attribute::type = "LSStore"]
|>>>>>>
|>>>>>> 2008-04-15 14:17:22,737 [http-8080-3] DEBUG (XQuery.java
|>>>>>> [compile]:169) - Compilation took 7 ms
|>>>>>> 2008-04-15 14:17:22,739 [http-8080-3] DEBUG (XQuery.java
|>>>>>> [execute]:222) - Execution took 1 ms
|>>>>>> 2008-04-15 14:17:22,740 [http-8080-3] DEBUG (HTTPUtils.java
|>>>>>> [addLastModifiedHeader]:61) - mostRecentDocumentTime:
|>>>>>> 0
|>>>>>> 2008-04-15 14:17:22,740 [http-8080-3] DEBUG (RESTServer.java
|>>>>>> [search]:921) - Found 0 in 2ms.
|>>>>>> 2008-04-15 14:17:22,750 [http-8080-3] DEBUG (XQuery.java
|>>>>>> [compile]:163) - Query diagnostics:
|>>>>>> update insert
|>>>>>>
|>>>>>> element {"nmwg:data"} {
|>>>>>> attribute {id} {
|>>>>>>
|>>>>>> http://uran.acad.bg:8080/geant2_java-rrd-ma-x86_32-3.0rc5/services/MeasurementArchiveService/55
|>>>>>>
|>>>>>>
|>>>>>> ---------------------------------------------------------------------
|>>>>>>
|>>>>>> and something curious to me appeared
|>>>>>> * from http://uran.acad.bg:8080/XML-LS-1.2
|>>>>>> * then "Service Configuration Wizard"
|>>>>>> * Would you like to use eXist DB XML? [on], Submit
|>>>>>> got the following error message:
|>>>>>>
|>>>>>> perfSONAR configuration Wizard
|>>>>>>
|>>>>>> Problem occured while finishing the configuration process!Back
|>>>>>> Problem with eXist configuration!Please check your input.
|>>>>>> java.lang.IllegalStateException: Wrong node
|>>>>>> idorg.exist.xmldb.RemoteCollection.store(RemoteCollection.java:501)
|>>>>>> org.exist.xmldb.RemoteCollection.storeResource(RemoteCollection.java:462)
|>>>>>> org.exist.xmldb.RemoteCollection.storeResource(RemoteCollection.java:448)
|>>>>>> perfSONARWebAdmin.auxiliary.xmlDB.xmlDBCollectionImpl.addDocument(xmlDBCollectionImpl.java:65)
|>>>>>> org.perfsonar.service.lookupService.xmlType.webadmin.LSWizardHandler.existActions(Unknown
|>>>>>> Source)
|>>>>>> org.perfsonar.service.lookupService.xmlType.webadmin.LSWizardHandler.handleExist(Unknown
|>>>>>> Source)
|>>>>>> org.perfsonar.service.lookupService.xmlType.webadmin.LSWizardHandler.handleRequest(Unknown
|>>>>>> Source)
|>>>>>> perfSONARWebAdmin.admin.wizard.Wizard.doPost(Wizard.java:192)
|>>>>>> perfSONARWebAdmin.admin.wizard.Wizard.doGet(Wizard.java:136)
|>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
|>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
|>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
|>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
|>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
|>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
|>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
|>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
|>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
|>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
|>>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
|>>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
|>>>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
|>>>>>> java.lang.Thread.run(Thread.java:595)
|>>>>>> org.perfsonar.service.lookupService.xmlType.webadmin.LSWizardHandler.handleExist(Unknown
|>>>>>> Source)
|>>>>>> org.perfsonar.service.lookupService.xmlType.webadmin.LSWizardHandler.handleRequest(Unknown
|>>>>>> Source)
|>>>>>> perfSONARWebAdmin.admin.wizard.Wizard.doPost(Wizard.java:192)
|>>>>>> perfSONARWebAdmin.admin.wizard.Wizard.doGet(Wizard.java:136)
|>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
|>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
|>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
|>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
|>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
|>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
|>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
|>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
|>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
|>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
|>>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
|>>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
|>>>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
|>>>>>> java.lang.Thread.run(Thread.java:595)
|>>>>>> org.perfsonar.service.lookupService.xmlType.webadmin.LSWizardHandler.handleRequest(Unknown
|>>>>>> Source)
|>>>>>> perfSONARWebAdmin.admin.wizard.Wizard.doPost(Wizard.java:192)
|>>>>>> perfSONARWebAdmin.admin.wizard.Wizard.doGet(Wizard.java:136)
|>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
|>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
|>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
|>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
|>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
|>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
|>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
|>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
|>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
|>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
|>>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
|>>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
|>>>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
|>>>>>> java.lang.Thread.run(Thread.java:595)
|>>>>>
|>>>
|>
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIByNnoEWq51/Q/40RAgBCAKCiPmUykrS+uswGV8tapNrQdsEY/ACbB0nX
pCebeCGW9YdL7DjIzXE2HMw=
=wmAG
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.16.

Top of Page