perfsonar-dev - Important-Bug fixes for Web Admin
Subject: perfsonar development work
List archive
- From: Michael Michalis <>
- To: "" <>
- Subject: Important-Bug fixes for Web Admin
- Date: Wed, 9 Apr 2008 16:33:16 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
Some bugs emerged as a result of the testing process that concern the web admin. Fixes for that bugs have been made and a new web admin jar has been released:
http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/perfsonar/perfsonar-web-admin/0.8.2b/perfsonar-web-admin-0.8.2b.jar .
One of the problems was found in the RRDMAHandler, which is the reference implementation of the ConfigurationHandler interface. As a result of this problem the user name and password for accessing the web admin pages could not be changed in the case of RRD MA. If anyone has used this specific piece of code as it is in RRDMAHandler will also need to change his code also. This is the piece of code:
// We don't really have any other groups just the ones for the servlet
~ // administration, that does not use grouping and description so we can
~ // use
~ // the ServiceProperties class as usual
~ else {
~ // A class that makes modifying service properties a little bit
~ // easier
~ ServiceProperties serviceProperties = new ServicePropertiesImpl(
~ ServicePath + ServletPropertiesPath);
~ // Getting the names for every property of the group
~ Iterator it = functionProperties.orderedKeys();
~ // Setting the value of each property
~ String value = null;
~ while (it.hasNext()) {
~ String key = (String) it.next();
~ // Setting service properties and wizard properties
~ ***************************************
~ * Code change *
~ * from *
~ * value = serviceProperties.getProperty(key); *
~ * to *
~ * value = functionProperties.getProperty(key); *
~ ***************************************
~ if (value == null) {
~ throw new IOException("Key is invalid " + key + " ");
~ } else {
~ serviceProperties.setProperty(key, value);
~ }
~ properties.setWizardProperty(key, functionProperties
~ .getWizardProperty(key));
~ }
~ serviceProperties.storeProperties();
~ }
Best Regards,
Michalis Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH/MWcoEWq51/Q/40RAnHhAJ9LOj2Sew+uQjR+ftOAKDifZK1zkgCdGx6e
9zDSLcAhzquocHKxXMRRA+8=
=xnLV
-----END PGP SIGNATURE-----
- Important-Bug fixes for Web Admin, Michael Michalis, 04/09/2008
Archive powered by MHonArc 2.6.16.