Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-989

Don't log "Property not supported" warning for javax.mail.Session objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0, 3.1
    • 3.1.1
    • configuration
    • None

    Description

      On Jan 19, 2009, at 2:20 PM, JensToerber wrote:
      I)
      i tried the javax.mail.Session Resource:

      What i found out:
      a) If you specify the pass-through Properties in
      <Resource id="BedsMailSession" type="javax.mail.Session">

      1. mail.host=""
        mail.pop3.user=jens.toerber
        mail.pop3.host=pop.web.de
        mail.pop3.port=110
        mail.smtp.host=smtp.web.de
        mail.smtp.port=25
        mail.transport.protocol=smtp
        mail.smtp.auth="true"
        mail.smtp.user="jens.toerber"
        password="thrillie"
        </Resource>

      you get a WARN-Level log-entry that those Properties are not supported. I
      guess INFO-Level with a hint that they are passed through would be better.

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: