"Pier P. Fumagalli" wrote:
>
> Craig R. McClanahan at [EMAIL PROTECTED] wrote:
>
> > +1 for the second approach. If the logic of your service allows for
> > "restarting" without forcing an unload/reload of the entire JVM, the APIs
> > should accomodate that.
>
> Again, it would not mean "restart", but merely "pause" and "continue", as
> most of the construction should be performed in init(), since that's the one
> with privileged super-user access in unix...
Something like the graceful restart of httpd.
init creates the ServerSocket as root
start stars the clients threads as tomcat user.
stop stops all the clients threads.
destroy closes the ServerSocket. and unload the entire JVM?
>
> Pier