[ 
https://issues.apache.org/jira/browse/DAEMON-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832881#action_12832881
 ] 

Mladen Turk commented on DAEMON-97:
-----------------------------------

Sure the patch would be more then welcome.
There is actually a code commented by #if 0 that calls the DestoryJavaVM which 
should wait until all threads exit
However this created a lots of problems in the past.



> service stops after main method return on JDK 1.6u1 
> ----------------------------------------------------
>
>                 Key: DAEMON-97
>                 URL: https://issues.apache.org/jira/browse/DAEMON-97
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: Windows 2003, Sun JDK1.6u1
>            Reporter: Hontvari Jozsef
>            Priority: Critical
>
> The installed service immediately stops in this environment when the main 
> method returns even if there is a non-daemon thread (created and started by 
> the main method). The same code runs well on JavaService.

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

Reply via email to