[
https://issues.apache.org/jira/browse/DAEMON-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mladen Turk closed DAEMON-97.
-----------------------------
Resolution: Won't Fix
This is how procrun works.
If the main returns it will kill the JVM. It is a bad practice to return from
the main when there is running threads in the background
> 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.