Ian Bicking wrote: > On Sat, 2003-03-01 at 20:43, Randall Randall wrote: > >>Is there a 'normal' way to restart the AppServer from within >>a page? Calling self.application().server().restart() doesn't >>seem to do it (though it does prevent the page from actually >>being served). > > > I think you should call shouldRestart() instead of restart() -- only the > main thread can initiate the restart, and shouldRestart() asks it to do > so.
Great! This is exactly what I was looking for. Thanks! -- Randall Randall <[EMAIL PROTECTED]> 'Institute regime change everywhere... to "None of the above."' -- Alex Future Bokov ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
