Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsona r/service/base/engine

Subject: perfsonar development work

List archive

Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsona r/service/base/engine


Chronological Thread 
  • From: Roman Lapacz <>
  • To: Michael Bischoff <>
  • Cc:
  • Subject: Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsona r/service/base/engine
  • Date: Wed, 29 Aug 2007 16:47:42 +0200

Michael Bischoff wrote:
Hi all,

Ok that was a stupid, I must have overlooked the logline that you posted
last evening:
[java] - Sax parser config could not be found. (lookup failed)

Having spend some time today deploying the latest LS sources here it
seemed to work, but where the installer inserts absolute paths and I used
relative paths.

could you check if manually replacing:
service.sax_parser.config=/home/mac/projects/perfsonar/new-structure/trunk/geant2_java-xml-ls/build/perfsonar/conf/objects.config
(gues from your logs)
into:
service.sax_parser.config=/perfsonar/conf/objects.config

I did it and I got this in catalina.out:

The configuration file '/perfsonar/conf/objects.config' was not found.
http://ggf.org/ns/nmwg/base/2.0/element (message) Creation Error: java.lang.NullPointerException
http://ggf.org/ns/nmwg/base/2.0/element (metadata) Creation Error: java.lang.NullPointerException
http://ggf.org/ns/nmwg/base/2.0/element (subject) Creation Error: java.lang.NullPointerException
http://ggf.org/ns/nmwg/base/2.0/element (interface) Creation Error: java.lang.NullPointerException
http://ggf.org/ns/nmwg/base/2.0/element (hostName) Creation Error: java.lang.NullPointerException
java.util.EmptyStackException


... and I've got objects.config in the right place:

webapps/perfSONAR-RRD-MA-pre-2.3-20070828/WEB-INF/classes/perfsonar/
`-- conf
|-- components.properties
|-- eventType-map.xml
|-- eventType-rules.xml
|-- log4j.properties
|-- objects.config
|-- rrd-database_TEST.xml
`-- service.properties


Roman



I'll commit a fix which should fix absolute paths later today. And try to
improve logging futher (problem here is that AuxiliaryComponentManager
loads the LoggerComponent and thus not have it available to him at
creation time. Later during it's lifecycle, at the time the sax_config is
looked up, it does have it available to him. perhaps I could implement a
best attempt approach.

greetings,

Michael.

This is most unfortunate, I took a quick look and some brain searching,
my initial guess is that, object.config lookup still messes up. Anyways
I'll
test and debug against LS as soon as I get home. (I Expect to fix it
tonight/this evening(for the people on the other side of the ocean)

btw. error.common.parse_error Parse/validation error, Cannot convert
request to Message. seems to be huge sink for a variation of errors.

greetings,

Michael.






Archive powered by MHonArc 2.6.16.

Top of Page