commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DAEMON-97) service stops after main method return on JDK 1.6u1
Date Fri, 12 Feb 2010 10:42:28 GMT

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

Mladen Turk resolved DAEMON-97.
-------------------------------

    Resolution: Fixed

Fixed with the 1.0.2
DestroyJavaVM JNI method is called after the main() exits.
This will cause the call to block until all threads exit.
There is potential danger here if the Java application hangs in which case the call will block
forever.
[ Show ยป ]
Mladen Turk added a comment - 12/Feb/10 10:41 AM Fixed with the 1.0.2 DestroyJavaVM JNI method
is called after the main() exits. This will cause the call to block until all threads exit.
There is potential danger here if the Java application hangs in which case the call will block
forever.


> 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
>            Assignee: Mladen Turk
>            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.


Mime
View raw message