[ 
http://issues.ops4j.org/jira/browse/PAXRUNNER-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_10761
 ] 

David Leangen commented on PAXRUNNER-43:
----------------------------------------

Ok... It looks like destroyFrameworkOnExit is already set up to handle proper 
termination, so I don't understand why it's not working...

My pax runner process gets send a TERM signal from the daemon system, but the 
process is not terminated, so something is wrong somewhere...

Any ideas?

> Unblock platform so exit signals will stop runner
> -------------------------------------------------
>
>                 Key: PAXRUNNER-43
>                 URL: http://issues.ops4j.org/jira/browse/PAXRUNNER-43
>             Project: Pax Runner
>          Issue Type: Bug
>            Reporter: David Leangen
>            Assignee: Niclas Hedhman
>
> Line 244 of ProcessImpl is a problem:
>  
>    process.waitFor();
>  
> This causes the Pax Runner process to block until the OSGi platform has 
> completed it's work. The problem is that even when Pax Runner receives a 
> shutdown signal from my daemon, the signal does not get passed to the 
> platform process, so the platform continues to run indefinitely.
> Not sure how to fix this, since I don't have all that much experience with 
> threads and such, but I'll look into this to provide some suggestions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to