Return-Path: Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: (qmail 80143 invoked from network); 20 Aug 2009 10:11:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 10:11:46 -0000 Received: (qmail 24399 invoked by uid 500); 20 Aug 2009 10:12:04 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 24232 invoked by uid 500); 20 Aug 2009 10:12:04 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 23976 invoked by uid 99); 20 Aug 2009 10:12:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 10:12:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 10:11:41 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id CA678234C1EF; Thu, 20 Aug 2009 03:11:20 -0700 (PDT) From: bugzilla@apache.org To: log4j-dev@logging.apache.org Subject: DO NOT REPLY [Bug 47713] New: SMTPAppender system properties propagation issue X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Appender X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: apache-issues@plakto.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: log4j-dev@logging.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 20 Aug 2009 03:11:20 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47713 Summary: SMTPAppender system properties propagation issue Product: Log4j Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Appender AssignedTo: log4j-dev@logging.apache.org ReportedBy: apache-issues@plakto.com --- Comment #0 from Jesper 2009-08-20 03:11:19 PDT --- The properties passed in from command line (via -D) is not available to the underlying java mail implementation. The issue is that com.sun.mail.util.SocketFetcher uses com.sun.mail.util.PropUtil to get properties, but this class uses properties.get (vs. getProperty), where the properties added from SMTPAppender is added via new Properties(defaultProps). The effect is that PropUtil->properties.get does not check the defaultProps for values and hence won't find any added from SMTPAppender. Of course you could argue the issue is with com.sun.mail.util.PropUtil.. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org