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: Atanas Terziyski <>
  • To: Maciej Glowiak <>
  • Cc: Michael Michalis <>, Loukik Kudarimoti <>, Michael Michalis <>, Nina Jeliazkova <>, "" <>
  • Subject: Re: [pS-dev] LS and eXist
  • Date: Sat, 19 Apr 2008 15:04:20 +0300
  • Organization: University of Plovdiv

Hi Maciej,

I still have some difficulties to run LS and eXist DB. Well, I installed consecutively Tomcat, eXist and LS from the following packages:
http://gijs.pythonic.nl/perfsonar/perfsonar-tomcat-6.0.16-5.i386.rpm
http://gijs.pythonic.nl/perfsonar/perfsonar-exist-1.1.1-1.noarch.rpm
http://wiki.perfsonar.net/images/files/xml-ls-1.2-RC6-1.noarch.rpm

In the configuration part i set the LS service to use eXist DB:
--- Would you like to use eXist DB XML? :: [on], [apply]

the collection and user were created and initialized immediately, but after restarting Tomcat I was not able to browse neither users nor collections from the web admin panel, instead I got a blue screen with this error (check the attached admin.xql.htm).

Finally the LS log file did not report any problems, but RRD-MA was still struggling to register with LS:

RRD-MA Log:
2008-04-19 14:49:05,217 ERROR - LSRegistrationComponent.runAction: Error while registration: [error.common.storage.xmldb]: There is a problem to use xml database; null
2008-04-19 14:49:35,327 INFO - GenericServiceLSRegistrator: register to [http://uran.acad.bg:8080/XML-LS-1.2/services/LookupService]

Regards,

Atanas


Maciej Glowiak wrote:
Michael Michalis wrote:
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

You may also try the newest RC6 available here:
http://wiki.perfsonar.net/jra1-wiki/index.php/Lookup_Service_Release#new

The newest webadmin fixes this problem.

For installing RC6 you'll need also the newest RPMs of tomcat and exist:

http://gijs.pythonic.nl/perfsonar/perfsonar-tomcat-6.0.16-3.i386.rpm
http://gijs.pythonic.nl/perfsonar/perfsonar-exist-1.1.1-1.noarch.rpm

(there is different directory structure - now /opt/perfsonar is being used)

Best regards
Maciej



Title: XQueryServlet Error

Error found

The actual cardinality for parameter 2 does not match the cardinality declared in the function's signature: browse:main($a as xs:string, $b as xs:string) element. Expected cardinality: exactly one, got 0. [at line 37, column 13]

XQuery Stack Trace
browse:main(xs:string, xs:string)37:13
admin:panel(xs:string, xs:string?)58:9
admin:main(xs:string*)169:18
Java Stack Trace:
Class NameMethod NameFile NameLine
org.exist.xquery.DynamicCardinalityCheckevalDynamicCardinalityCheck.java80
org.exist.xquery.AtomizeevalAtomize.java67
org.exist.xquery.AtomicToStringevalAtomicToString.java64
org.exist.xquery.UntypedValueCheckevalUntypedValueCheck.java79
org.exist.xquery.DynamicTypeCheckevalDynamicTypeCheck.java66
org.exist.xquery.FunctionCallevalFunctionCall.java150
org.exist.xquery.AbstractExpressionevalAbstractExpression.java56
org.exist.xquery.PathExprevalPathExpr.java216
org.exist.xquery.ConditionalExpressionevalConditionalExpression.java85
org.exist.xquery.AbstractExpressionevalAbstractExpression.java56
org.exist.xquery.PathExprevalPathExpr.java216
org.exist.xquery.AbstractExpressionevalAbstractExpression.java56
org.exist.xquery.LetExprevalLetExpr.java154
org.exist.xquery.BindingExpressionevalBindingExpression.java109
org.exist.xquery.AbstractExpressionevalAbstractExpression.java56
org.exist.xquery.PathExprevalPathExpr.java216
org.exist.xquery.UserDefinedFunctionevalUserDefinedFunction.java108
org.exist.xquery.DynamicCardinalityCheckevalDynamicCardinalityCheck.java71
org.exist.xquery.DynamicTypeCheckevalDynamicTypeCheck.java66
org.exist.xquery.FunctionCallevalFunctionFunctionCall.java204
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