commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk (JIRA)" <>
Subject [jira] Closed: (DAEMON-97) service stops after main method return on JDK 1.6u1
Date Thu, 11 Feb 2010 16:08:28 GMT


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:
>             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.

View raw message