RE: Webapp with Adminstrative Console

2006-12-05 Thread Caldarale, Charles R
> From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Subject: Re: Webapp with Adminstrative Console > > Looks like the tag is the easiest solution > of all but JMX seems interesting and i can learn something > new but is it possible to do without Spring? Yes, Tomcat uses JMX in

Re: Webapp with Adminstrative Console

2006-12-05 Thread chuanjiang lo
On 12/6/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: You could also use JMX to change configuration at runtime. Spring has nice JMX support. Looks like the tag is the easiest solution of all but JMX seems interesting and i can learn something new but is it possible to do without Spring?

Re: Webapp with Adminstrative Console

2006-12-05 Thread Mikolaj Rydzewski
chuanjiang lo wrote: I am having a web application that have some config files(.ini) that contains some settings so that during runtime the servlet would take the settings from the config file and perform some action. Together with the web application, there is an adminstrator console that allow

RE: Webapp with Adminstrative Console

2006-12-05 Thread Caldarale, Charles R
> From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Subject: Webapp with Adminstrative Console > > I realize that if the config file is changed, i would > need to restart Tomcat as such my servlet would read > in the changed settings. Rather than restarting Tomcat, why don'

Webapp with Adminstrative Console

2006-12-05 Thread chuanjiang lo
I am having a web application that have some config files(.ini) that contains some settings so that during runtime the servlet would take the settings from the config file and perform some action. Together with the web application, there is an adminstrator console that allows user to change the s

Re: Webapp with Adminstrative Console

2006-12-05 Thread chuanjiang lo
On 12/6/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: Rather than restarting Tomcat, why don't you have the servlet watch for changes to the .ini file and reload it as needed? Seems a bit of overkill to take the whole server down for just that. You could also just redeploy the app when n

RE: Webapp with Adminstrative Console

2006-12-05 Thread Caldarale, Charles R
> From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Subject: Re: Webapp with Adminstrative Console > > Is there any articles i can look at to implement the servlet watch for > changes to the .ini file? You can set a tag inside the element for your webapp; changing the target