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: Mon, 21 Apr 2008 13:46:48 +0300
  • Organization: University of Plovdiv

Hi Maciej,

Maciej Glowiak wrote:
Atanas Terziyski wrote:
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:



Atanas,

When you selected [on] in "Would you like to use eXist DB XML?" setting, were there other options and sub-form to be filled in? If not please select "no" and again "yes" and the form should be visible.

Sure, I were able to see the sub-form. Please check xml-ls.png, is that what you mean? The exist user and database were created immediately after applying.


Could you attach also service.properties file from XML-LS?

The file "ervice.properties" located in our case here:
/opt/perfsonar/services/xml-ls/WEB-INF/classes/perfsonar/conf/service.properties
is attached as ervice.properties.txt

Best regards,

Atanas

Best regards
Maciej


#Modified at Sat Apr 19 14:38:57 EEST 2008

# Group=LS
# Description=The service type.
service.r.service_type=ls

# Group=Cleanup
# Description=The name of the storage component (do not change it).
component.ls_cleanup_loader.storage_component=ls_storage

# Group=Database
# Description=The admin password.
service.ls.db_adminpassword=

# Group=Database
# Description=Determines whether to create a username and collection for the
database (using the LS WebAdmin Wizard servlet).
initialize.db=yes

# Group=Cleanup
# Description=The default TTL (in seconds).
service.ls.ttl=86400

# Group=Cleanup
# Description=The name of the scheduler component (do not change it).
component.ls_cleanup_loader.scheduler_component=ls_scheduler

# Group=Database
# Description=The database status (do not change).
service.ls.db_status=on

# Group=Database
# Description=The default URL of the XML RPC connector.
service.ls.db_uri.xmlrpc=xmldb:exist://uran.acad.bg:8080/exist/xmlrpc/db/ls

# Group=Database
# Description=The database password for the selected username.
service.ls.db_password=sonar

# Group=Internals
# Description=Logging Properties path
service.log.log4j.config=/opt/perfsonar/services/xml-ls/WEB-INF/classes/perfsonar/conf/log4j.properties

# Group=Internal
# Description=The type of service used to select the correct message handler
implementation.
service.r.type=ls

# Group=Database
# Description=The name of the collection.
service.ls.db_username=lookupservice

# Group=Cleanup
# Description=The interval in which the action is executed (in seconds).
component.ls_cleanup_loader.interval=300

# Group=Cleanup
# Description=The minimal acceptable TTL (unused).
service.ls.min_ttl=1200

# Group=Internals
# Description=Sax parser configuration parameter
service.sax_parser.config=/opt/perfsonar/services/xml-ls/WEB-INF/classes/perfsonar/conf/objects.config

# Group=Database
# Description=The URI of the database.
service.ls.db_uri=http://uran.acad.bg:8080/exist/rest/db/ls

# Group=Database
# Description=The java class file which implements the connector.
service.ls.db_type=org.perfsonar.service.lookupService.xmlType.storage.exist.XQueryExistDAOImpl

# Group=Cleanup
# Description=The maximum acceptable TTL (unused).
service.ls.max_ttl=

# Group=Database
# Description=The database access (http or xmlrpc).
service.ls.db_access=http

# Group=Database
# Description=The default URI of the HTTP connector.
service.ls.db_uri.http=http://uran.acad.bg:8080/exist/rest/db/ls

# Group=Internal
# Description=A CSV of request message types supported by the service.
service.ls.message_types=LSQueryRequest,LSRegisterRequest,LSDeregisterRequest,LSKeepaliveRequest,EchoRequest,LSCleanup

# Group=Database
# Description=The database configuration type (do not change).
service.ls.exist_type=webapp

# Group=Internal
# Description=Determines whether services can re-register with LS (yes) or
have to unregister before they can register with it again or perform update
operation (no).
service.ls.allow_replace=yes

# Group=Internal
# Description=The java class file which implements the ServiceEngine
interface.
service.ls.class_name=org.perfsonar.service.lookupService.xmlType.XmlTypeLSServiceEngine

PNG image

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