Skip to Content.
Sympa Menu

perfsonar-dev - LS and eXist

Subject: perfsonar development work

List archive

LS and eXist


Chronological Thread 
  • From: Atanas Terziyski <>
  • To: , Nina Jeliazkova <>
  • Subject: LS and eXist
  • Date: Tue, 15 Apr 2008 15:28:02 +0300
  • Organization: University of Plovdiv

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:vcard
fn:Atanas Terziyski, PhD
n:Terziyski;Atanas
org:University of Plovdiv;Faculty of Chemistry
adr:;;Tsar Assen 24, Str.;Plovdiv;;4000;Bulgaria
email;internet:
title:Assist. Prof.
tel;work:+35932261449
tel;fax:+35932635049
tel;cell:+359888717141
note;quoted-printable:Some addresses:=0D=0A=
	=0D=0A=
	Homepage or CV=0D=0A=
	http://web.uni-plovdiv.bg/atanas=0D=0A=
	=0D=0A=
	Business-oriented Social Network=0D=0A=
	http://www.linkedin.com/in/AtanasTerziyski=0D=0A=
	=0D=0A=
	Photo Gallery=0D=0A=
	http://photo.argon.acad.bg/ksx
x-mozilla-html:FALSE
url:http://web.uni-plovdiv.bg/atanas
version:2.1
end:vcard

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.16.

Top of Page