Skip to Content.
Sympa Menu

perfsonar-dev - Web-Admin Modifications

Subject: perfsonar development work

List archive

Web-Admin Modifications


Chronological Thread 
  • From: Prodromos Gerakios <>
  • To:
  • Subject: Web-Admin Modifications
  • Date: Wed, 17 Sep 2008 13:56:35 +0300


Hi all,

The forwarded message contains the modifications that I intend to include in the next Web-Admin release. These modifications are necessary as eXist configuration files are not currently manipulated by Web-Admin. Further, when a properties file is modified manually (without web-admin) then changes will take effect when Tomcat is restarted. The modifications intend to resolve those two problems.

Please let me know whether this is alright by everyone. Additionally, any suggestions for improvement over the modifications would be appreciated.

Best regards,
Prodromos.
--- Begin Message ---
  • From: Nicolas Simar <>
  • To: Prodromos Gerakios <>
  • Subject: Re: client.properties issue
  • Date: Wed, 17 Sep 2008 09:43:33 +0200
Sounds good to me. Can you please send this information to the mailing
list for comments (in case someone is relying on a different behavior).
If you don't hear anything by the end of the week, consider there is
broad agreement. (you don't have to wait for the end of the week to
implement the changes).

Cheers,
Nicolas

Prodromos Gerakios wrote:
>
> Hi Nicolas,
>
> I have implemented a number of java classes that perform the following
> tasks:
>
> 1) Monitor files for changes and notify (I will come to this later)
> 2) A class which monitors for files (derived from the above class) :
> client.properties , service.properties , servlet.properties.
>
> It works as follows:
> * If client.properties (eXist file) changes externally, then it
> automatically re-writes the file with the correct value taken from
> service.properties (web-admin file)
> * If service.properties is modified (externally or by web-admin) then it
> also updates client.properties
> * Servlet.properties stores the "key" under which the eXist URI is
> stored. If servlet.properties changes (externally or by web-admin) it
> re-loads the new "key" and finds the appropriate URI in
> service.properties and updates client.properties
>
> Finally, (1) can be used for all properties files so that If they get
> changed externally, one does not have to restart tomcat for changes to
> take effect but the web-admin could autmatically reload those files.
> This is an entirely different task.
>
> I will soon integrate this with the web-admin code. The good thing is
> that it will be only a single line of code that will be added to
> Michalis's code (so minimal changes to the code that works).
>
> Best regards,
> Prodromos.
>
>

--
Nicolas
______________________________________________________________________

Nicolas Simar
Network Engineer

DANTE - www.dante.net

Tel - BE: +32 (0) 4 366 93 49
Tel - UK: +44 (0)1223 371 300
Mobile: +44 (0) 7740 176 883

City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________





--- End Message ---



Archive powered by MHonArc 2.6.16.

Top of Page