[
https://issues.apache.org/jira/browse/JSPWIKI-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12555180
]
Harry Metske commented on JSPWIKI-113:
--------------------------------------
No, the patch is fine, I just checked again.
> JavaMail initialization Error is annoying
> -----------------------------------------
>
> Key: JSPWIKI-113
> URL: https://issues.apache.org/jira/browse/JSPWIKI-113
> Project: JSPWiki
> Issue Type: Improvement
> Components: Authentication&Authorization
> Affects Versions: 2.6.0
> Reporter: Janne Jalkanen
> Assignee: Harry Metske
> Priority: Trivial
> Fix For: 2.8
>
> Attachments: JSPWIKI-113.patch
>
>
> If you are setting your JavaMail properties in jspwiki.properties, you will
> get an ERROR notice every time someone is using the mail facility:
> 2007-12-25 17:30:51,379 [TP-Processor42] ERROR
> com.ecyrd.jspwiki.util.MailUtil JSPWiki:/Login.jsp
> JSPWiki:http://jspwiki.org/Login.jsp - JavaMail initialization error: Name
> mail is not bound in this Context
> This is because it always attempts to locate JavaMail config from JNDI, and
> considers it an error if it's not found, even if it will work perfectly since
> it can locate the settings from jspwiki.properties.
> This is especially annoying if you've set your JSPWiki to email you every
> single ERROR or FATAL that happens - you can get tens or hundreds of these
> emails per day.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.