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
            Priority: Trivial


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.

Reply via email to