Skip to Content.
Sympa Menu

perfsonar-dev - A problem using the generic LS registrator component

Subject: perfsonar development work

List archive

A problem using the generic LS registrator component


Chronological Thread 
  • From: Cándido Rodríguez Montes <>
  • To: Perfsonar Development List <>
  • Subject: A problem using the generic LS registrator component
  • Date: Wed, 9 Apr 2008 17:35:17 +0200

Hi all,
I've had some problems using the generic LS registrator component, org.perfsonar.service.base.registration.LSRegistrationComponent, and, maybe you want to know how I've solved it with the help of Maciej :-D
Well, first, the AS weren't sending the LSRegister request when it was initialized. But we didn't see any information in the logs, neither which components had been initialized. So, reading the source code of the AuxiliaryComponentManager class, now, it's using the java.util.logging.Logger class for write the log information of that. So, this needs another properties class for configuring it. The file is your_service/WEB-INF/classes/logging.properties and it has the following content:
------- start here -------
handlers=java.util.logging.FileHandler.level= FINEjava.util.logging.FileHandler.pattern = /var/lib/tomcat5/webapps/geant2_java-as-1.0rc6/WEB-INF/logs/jul.logjava.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
------- end here -------
Of course, it's only an example.
Second, reading the new log information, we saw that LSRegistrationComponent needs the property 'service.ls.registration_file' in services.properties, although you don't have any file for that. So, we've put:
service.ls.registration_file=
And... everything works! :-)

Regards

--
Cándido Rodríguez Montes E-mail: 
Middleware warrior Tel:+34 955 05 66 13
Red.ES/RedIRIS
Edificio CICA
Avenida Reina Mercedes, s/n
41012 Sevilla
SPAIN







Archive powered by MHonArc 2.6.16.

Top of Page