Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] aggregated key requests

Subject: perfsonar development work

List archive

Re: [pS-dev] aggregated key requests


Chronological Thread 
  • From: "Nina Jeliazkova" <>
  • To: Roman Lapacz <>
  • Cc: <>
  • Subject: Re: [pS-dev] aggregated key requests
  • Date: Mon, 28 Aug 2006 14:14:07 +0300

Hi Roman,

Roman Lapacz
<>
wrote:


>
> > We’ve successfully installed RRD-MA-svn-20060825 and we’re happy with the
> > changes you’ve implemented, regarding the aggregated SetupDataRequests
with
> > keys (see attached response) – many thanks!
> >
> > During the installation we noticed that saxon8-dom.jar is missing from
> > $TOMCAT/webapps/axis/WEB-INF/lib, resulting in many warnings in
> catalina.out.
> > We downloaded http://prdownloads.sourceforge.net/saxon/saxonb8-7-3j.zip
and
> > after resolving this dependency problem we didn’t see any more
> > warnings/errors.
> >
>
> Did you update ant directory and use Ant script for downloading the
> libraries? Using Ant you should be able to get saxon library (ant -f
> build-rrdma.xml libs-rrdma) and after deploy operation (ant -f
> build-rrdma.xml deploy-rrdma) have it in Tomcat. I looked at
> catalina.out and I didn't observed warnings when I run my tests.

Well, we started from scratch, fetched everything from SVN and executed the
steps you've mentioned above. I don't know what might have gone wrong. Here
are the contents of the ant folder (time is EEST):

- - - - 8< - - - -

drwxr-xr-x 7 root root 328 2006-08-25 19:29 .svn/
-rw-r--r-- 1 root root 3517 2006-08-25 19:29 axis-deploy-targets.xml
-rw-r--r-- 1 root root 1429 2006-08-25 19:29 build-clmp.xml
-rw-r--r-- 1 root root 1457 2006-08-25 19:29 build-nmsmp.xml
-rw-r--r-- 1 root root 1696 2006-08-25 19:29 build-rrdma.xml
-rw-r--r-- 1 root root 1537 2006-08-25 19:29 build-snmpmp.xml
-rw-r--r-- 1 root root 1731 2006-08-25 19:29 build-sqlma.xml
-rw-r--r-- 1 root root 1512 2006-08-25 19:29 build-tcmp.xml
-rw-r--r-- 1 root root 1373 2006-08-25 19:29 build-tops.xml
-rw-r--r-- 1 root root 1603 2006-08-25 19:29 build-xmlls.xml
-rw-r--r-- 1 root root 450 2006-08-25 19:29 changes-rrdma
drwxr-xr-x 3 root root 448 2006-08-25 19:29 clmp/
-rw-r--r-- 1 root root 9208 2006-08-25 19:29 configure-targets.xml
-rw-r--r-- 1 root root 1306 2006-08-25 19:36 const-old.properties
-rw-r--r-- 1 root root 732 2006-08-25 19:37 const.properties
-rw-r--r-- 1 root root 1535 2006-08-25 19:29 const.properties.cl
-rw-r--r-- 1 root root 1306 2006-08-25 19:29 const.properties.ma
-rw-r--r-- 1 root root 1820 2006-08-25 19:29 const.properties.mp
-rw-r--r-- 1 root root 1402 2006-08-25 19:29 const.properties.tcmp
-rw-r--r-- 1 root root 1389 2006-08-25 19:29 const.properties.tops
-rw-r--r-- 1 root root 3253 2006-08-25 19:29 java-compile-targets.xml
-rw-r--r-- 1 root root 1185 2006-08-25 19:29 javadoc-targets.xml
-rw-r--r-- 1 root root 3335 2006-08-25 19:29 libs-download-targets.xml
drwxr-xr-x 3 root root 432 2006-08-25 19:29 nmsmp/
drwxr-xr-x 3 root root 552 2006-08-25 19:29 rrdma/
drwxr-xr-x 3 root root 488 2006-08-25 19:29 snmpmp/
drwxr-xr-x 3 root root 456 2006-08-25 19:29 sqlma/
drwxr-xr-x 3 root root 360 2006-08-25 19:29 tcmp/
drwxr-xr-x 3 root root 264 2006-08-25 19:29 tops/
-rw-r--r-- 1 root root 3167 2006-08-25 19:29 webservice-env-targets.xml
drwxr-xr-x 3 root root 504 2006-08-25 19:29 xmlls/

- - - - 8< - - - -

> > There’s also some issue with the ant target for eXist DB initialization –
it
> > produces the following error:
> >
> > - - - 8< - - -
> > ant -f build-rrdma.xml xmldb-init-rrdma
> > Buildfile: build-rrdma.xml
> >
> > getresource-rrdma:
> >
> > xmldb-exist-rrdma:
> > [exist] Checking collection:
> > http://selena.acad.bg:8680/exist/xmlrpc/db/rrdmaconfig
> >
> > __xmldb-init-rrdma:
> >
> > xmldb-init-rrdma:
> >
> > getdbroot-rrdma:
> >
> > get-xmldb-collection:
> >
> > xmldb-collection-rrdma:
> > [create] Database driver already registered.
> > [create] Created collection /db/rrdmaconfig
> >
> > xmldb-store-rrdma:
> > [store] Database driver already registered.
> >
> > BUILD FAILED
> > /usr/local/perfSONAR-1.0/ant/rrdma/rrdma-exist-xmldb-targets.xml:148: The
> > following error occurred while executing this line:
> > /usr/local/perfSONAR-1.0/ant/rrdma/rrdma-exist-xmldb-targets.xml:100:
XMLDB
> > exception caught:
> >
> > Total time: 7 seconds
> > - - - 8< - - -
> > The workaround was to use the same target from an older service release
> > (2006-05-23), which works fine.
> >
>
> Hmm, I don't have such errors (the problem might be in Ant scripts which
> are not updated).

The ant scripts have been updated (see above), so we should look for a fix
elsewhere...

> > We also compared MetadataKeyRequest and SetupDataRequest (without key)
> > processing time in RRD-MA-perfSONAR-1.0 vs. RRD-MA-svn-20060825. There’s
> some
> > improvement in MetadaKeyRequest’s response time, but also a noticeable
slow
> > down in SetupDataRequest’s processing in the svn version, when compared to
> > RRD-MA-perfSONAR-1.0. The later finding was surprising – we expected quite
> the
> > opposite in fact. The settings of the two services were identical, except
> for
> > the access method to eXist (xmlrpc for the former, http for the later) and
> the
> > required modification in the XML config file regarding eventType. We also
> made
> > an attempt to configure the svn version to use xmlrpc instead of http, but
> in
> > this case the service was unable to connect to the eXist DB. However, the
> http
> >
>
> Did you have correct URL of xmldb in service.properies?

Yes, I think so. We had:

component.ma.xmldb.db_uri=http://selena.acad.bg:8680/exist/rest/db/rrdmaconfig

and

component.ma.xmldb.db_uri.xmlrpc=http://selena.acad.bg:8680/exist/xmlrpc/db/rrdmaconfig

We tried to put the same value as in the later in the former, but it didn't
work that way either.

Kind regards,
Nina





Archive powered by MHonArc 2.6.16.

Top of Page