perfsonar-dev - Re: [pS-dev] NullPointerException: I need help!
Subject: perfsonar development work
List archive
- From: Loukik Kudarimoti <>
- To: Maciej Glowiak <>
- Cc: Cándido Rodríguez Montes <>, , Roman Lapcz <>
- Subject: Re: [pS-dev] NullPointerException: I need help!
- Date: Fri, 15 Dec 2006 12:47:30 +0000
Maciej,
Perhaps the problem is in other place, but components.properties was parsed byCandido mentioned that there is no output in catalina.out. Note: he is using older version of all these files.
ComponentsConfigurationReader().readFile(configFileName);
Maciej,
because the sequence of componenets to be load was very important. First of all the configuration component should be read, then the logger, then all other components.
As I said, I didn't analyze all the changes. The AuxiliaryComponentManager class looks very similar (I can see changes for locating the properties file:
---------------------------------------------------------------------------------
URL urlString = this.getClass().getClassLoader().getResource("perfsonar/conf/components.properties");
(...)
---------------------------------------------------------------------------------
but not in the way of parsing components.properties, but I don't have the most recent revision and wasn't following your last changes.
I made very minor changes to your code. The changes include:
* replacing System.getProperty("service.properties") & System.getProperty("components.properties") to the class loader thingie that you have written above.
* some exception handling to rule out NullPointerException when files are missing..
thats it! Can you please have a look to see you are happy with them? Note: RRD MA has been installed on GEANT2 and is currently running fine, returning data and all ;)
Loukik.
Maciej
- NullPointerException: I need help!, Cándido Rodríguez Montes, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Loukik Kudarimoti, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Cándido Rodríguez Montes, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Loukik Kudarimoti, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Cándido Rodríguez Montes, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Loukik Kudarimoti, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Cándido Rodríguez Montes, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Maciej Glowiak, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Loukik Kudarimoti, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Maciej Glowiak, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Loukik Kudarimoti, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Cándido Rodríguez Montes, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Loukik Kudarimoti, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Cándido Rodríguez Montes, 12/15/2006
- Re: [pS-dev] NullPointerException: I need help!, Loukik Kudarimoti, 12/15/2006
Archive powered by MHonArc 2.6.16.