felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Walker (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-363) Forceable termination of Felix instance leaves global EventDispatcher in non-restartable state
Date Tue, 11 Sep 2007 10:40:32 GMT

     [ https://issues.apache.org/jira/browse/FELIX-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob Walker resolved FELIX-363.
------------------------------

    Resolution: Fixed

Committed a fix which should ensure:

- m_thread is nulled out whenever run() exits regardless of reason

- also checks whether m_thread.isAlive() to handle cases where thread is killed but not detected
internally, and m_thread doesn't get nulled out.

> Forceable termination of Felix instance leaves global EventDispatcher in non-restartable
state
> ----------------------------------------------------------------------------------------------
>
>                 Key: FELIX-363
>                 URL: https://issues.apache.org/jira/browse/FELIX-363
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: Rob Walker
>            Assignee: Rob Walker
>
> FELIX-314 fixed an issue where internal shutdown of the global EventDispatcher thread
left Felx in a state where new instances could not be started within the same VM at a later
time.
> It seems in an Applet VM environment using JRE 1.6 and IE7 there is a variation on this
case where the Applet VM is forcibly killing VM threads not cleanly terminated by the application
itself e.g. a sloppily written Applet  (like ours!) which launched a Felix instance in the
start() but didn't shut it down in the stop().
> Such a forceable termination is not tracked or detected, and hence leads to a similar
inability to start additional Felix instances as was being seen in FELIX-314

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message