[
https://issues.apache.org/jira/browse/LOG4J2-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306697#comment-15306697
]
Rainer Schnitker commented on LOG4J2-1386:
------------------------------------------
It seems, that winrun4j calls the shutdown code from a non-java thread. Another
app also cannot shutdown without log4j2.
A workaround is to create a shutdown thread and delegate the winrun4j shutdown
call to the java thread.
Bug will be closed.
> Application cannot shutdown (thread blocks)
> -------------------------------------------
>
> Key: LOG4J2-1386
> URL: https://issues.apache.org/jira/browse/LOG4J2-1386
> Project: Log4j 2
> Issue Type: Bug
> Affects Versions: 2.5
> Reporter: Rainer Schnitker
>
> After an upgrade from 2.4.1 to 2.5 my application cannot shutdown. If I
> terminate a thread called "LogIt" the shutdown is continued.
> Running as a plain java programs works, but not with a windows service
> wrapper. The wrapper is called "winrun4j".
> Older versions from 2.0 to 2.4.1 are ok.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]