That JIRA is really talking about shutdown from the client (L1) side (as opposed to the terracotta server (L2) side).
How does TCStop help? It's still going to end up calling System.exit() as far as I can tell -- and doesn't really jive with an embedded L2 server. Graceful shutdown of the TC server has been known to be busted for quite awhile. Seems like a good opportunity to clean that up? > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:tc-dev- > [EMAIL PROTECTED] On Behalf Of Fiona O'Shea > Sent: Tuesday, September 04, 2007 12:42 PM > To: Gary Keim > Cc: [email protected] > Subject: Re: [tc-dev] Embedding Terracotta (Geronimo plugin) > > FYI > Updated: https://jira.terracotta.org/jira/browse/CDV-406 to track progress > of this issue. > Fiona > ----- Original Message ----- > From: "Gary Keim" <[EMAIL PROTECTED]> > To: [email protected] > Sent: Tuesday, September 4, 2007 12:17:55 PM (GMT-0800) > America/Los_Angeles > Subject: Re: [tc-dev] Embedding Terracotta (Geronimo plugin) > > Jeff, > > There are problems with graceful shutdown: > https://jira.terracotta.org/jira/browse/DEV-406 > > So, in DistributedObjectServer.stop you'll see that really, it won't stop. > For now, I think System.exec/TCStop is the way to go if you need full > control. > > Gary > > ----- Original Message ----- > From: "Jeff Genender" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, September 04, 2007 10:59 AM > Subject: Re: [tc-dev] Embedding Terracotta (Geronimo plugin) > > > > Anyone have an idea? > > > > Jeff > > > > Jeff Genender wrote: > >> ok...I may be getting my ports mixed up...looks like its 9510 that is > >> not shut down...and it is indeed the DSOServer. > >> > >> Thanks, > >> > >> > >> Jeff > >> > >> > >> Jeff Genender wrote: > >>> Ok...if I am not mistaken (and I may very well be)...I need the > ability > >>> to shut down the dsoServer from the TCServerImpl. I think this may > give > >>> me what I want... > >>> > >>> Anyone game to make this change? (Am I right in my assumption?) > >>> > >>> Thanks, > >>> > >>> Jeff > >>> > >>> Jeff Genender wrote: > >>>> Hi folks, > >>>> > >>>> I have made tremendous progress on the Terracotta server plugin for > >>>> Geronimo. It installs from a repository and I can start the server > >>>> just > >>>> fine within Geronimo. > >>>> > >>>> But the problem I am having now is the stop. I am unable to use the > >>>> TCStop because it does a full shutdown which ultimately ends with a > >>>> System.exit(), which certainly is not good for embedded > >>>> implementations, > >>>> since it shuts down Geronimo too :-( > >>>> > >>>> Therefore I went to save the server object when I created it and I > just > >>>> called stop() when I want to shut down the TCServer. This > effectively > >>>> stops the server on 9510, but it leaves the 9520 (JMXServer) server > >>>> running. But I need to shut that down too. Basically, I want to do > >>>> the > >>>> equivalent of a shutdown() without the System.exit(). > >>>> > >>>> Ideas on how to do this? > >>>> > >>>> Thanks, > >>>> > >>>> Jeff > >>>> _______________________________________________ > >>>> tc-dev mailing list > >>>> [email protected] > >>>> http://lists.terracotta.org/mailman/listinfo/tc-dev > >>> _______________________________________________ > >>> tc-dev mailing list > >>> [email protected] > >>> http://lists.terracotta.org/mailman/listinfo/tc-dev > >> _______________________________________________ > >> tc-dev mailing list > >> [email protected] > >> http://lists.terracotta.org/mailman/listinfo/tc-dev > > _______________________________________________ > > tc-dev mailing list > > [email protected] > > http://lists.terracotta.org/mailman/listinfo/tc-dev > > > > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev > > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
