geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nell Gawor <nell_ga...@hotmail.com>
Subject Re: Application Client Stops Running
Date Tue, 11 Oct 2005 13:42:26 GMT
I opened a JIRA report for this: 
http://issues.apache.org/jira/browse/GERONIMO-1058

Thanks,
Nell

Nell Gawor wrote:

> Hi,
>
> I've spent some time looking at this now and I think I've figured out 
> what's going on.  What this client application does within its main 
> method is run some code that starts the GUI and a thread to listen for 
> updates.
> Once it starts the thread, the main method exits, returning control to 
> the container, which then prints those ominous messages like
>
> > 12:03:20,584 INFO  [CommandLine] Server shutdown begun
> > 12:03:20,584 DEBUG [GBeanInstanceState] GBeanInstanceState for:
> > geronimo.config:name="org/apache/geronimo/ClientSystem" State changed
> > from running to stopping
>
> But in fact, all the key threads (the GUI thread and the the thread 
> listening for updates), continue to run even though control has 
> returned to the client container. Which is what I would expect, but 
> those messages threw me for a loop and made me think my threads had 
> been killed.
>
> Is there a way to improve these messages so that it doesn't look like 
> things are stopping or shutting down until all the threads have exited?
>
> Thanks,
> Nell
>
> Nell Gawor wrote:
>
>> <snip>
>


Mime
View raw message