You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Florian Holeczek (JIRA)" <ji...@apache.org> on 2011/09/11 01:33:09 UTC

[jira] [Closed] (JSPWIKI-113) JavaMail initialization Error is annoying

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

Florian Holeczek closed JSPWIKI-113.
------------------------------------


> 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: Janne Jalkanen
>            Priority: Trivial
>             Fix For: 2.6.1, 2.8
>
>         Attachments: JSPWIKI-113.patch, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira