[logback-dev] [JIRA] Commented: (LBCLASSIC-323) SMTPAppender does not send messages

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Fri May 4 00:06:27 CEST 2012


    [ http://jira.qos.ch/browse/LBCLASSIC-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12412#action_12412 ] 

Ceki Gulcu commented on LBCLASSIC-323:
--------------------------------------

The problem is JDK 1.5 specific. If ThreadPoolExecutor's corePoolSize parameter is set to 0, no threads are created. It follows that no email messages can be sent out. Now that the problem affecting JDK 1.5 has been identified a fix is on the way.

> SMTPAppender does not send messages
> -----------------------------------
>
>                 Key: LBCLASSIC-323
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-323
>             Project: logback-classic
>          Issue Type: Bug
>          Components: appender
>    Affects Versions: 1.0.0
>         Environment: JDK 1.5
> FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Apr 15 17:37:45 CEST 2008 amd64
> Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)
> Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed mode)
>            Reporter: Lutz Huehnken
>            Assignee: Ceki Gulcu
>         Attachments: logback-smtp-copy.xml, pom.xml, SmtpTest.java
>
>
> After upgrading from 0.9.30 to 1.0.0, the ch.qos.logback.classic.net.SMTPAppender seizes to work. It just does not send any messages anymore.
> This behaviour has apparently been observed by others as well and is also described in this thread:
> http://old.nabble.com/SMTPAppender-mail-not-sent-%28logback-1.0.0%2C-JDK-1.5%29-to33164248.html
> It resumes working when - while making no other changes - logback is downgraded to version 0.9.30

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list