On Mon, 2008-11-24 at 10:43 -0800, Matthew Woodward wrote:
> Víctor Balada Díaz wrote:
> > Hello,
> >
> > Is there any way of reloading bluedragon.xml file?
> >
> > So far i've looked at the administrator web interface source code and 
> > doesn't
> > seem to reload the file, but as i'm not a coldfusion programmer i 
> > might be wrong.
> 
> When you make changes through the administrator it will reload the 
> settings without having to restart the server. Not sure what you're 
> looking for in the source code but this is done through wrapper 
> functions (getConfig() and setConfig()) so if you were looking for 
> cffile and xml parsing, you wouldn't find that.
> 
> >
> > I think having this feature is very important because when you have 
> > more than
> > one server you need manage the configurations with scripts and 
> > restarting tomcat
> > is not always an option.
> 
> Ah--OK. I see what you're getting at now. I can add a button to force a 
> reload of the XML.
> 
> Just so I'm sure I understand the use case, what you're saying is you 
> may have a single XML config file that you want to be able to drop on 
> multiple instances of OpenBD and then reload the XML without restarting 
> the server, correct?


Hello Matthew,

Right, this is exactly what i want. I think it would be even better if
you could press that button from a script with wget/fetch or something
like that. Being able to do something like this helps a lot when you
manage a lot of servers:

fetch http://foo.com/bluedragon/administrator/reloadcfg?passwd=foo

> Also just so you're aware, you can reload the OpenBD web app 
> individually through the Tomcat administrator without restarting Tomcat 
> entirely.
> 
> Either way, I'll add a reload XML feature of some sort to the admin 
> console. Let me know if I didn't understand what you wanted.

Thanks for the hint.

Regards.



--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to