Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-504

Bind a Reference object in JNDI for javax.mail.Session so that Sessions can be looked up remotely

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: None
    • Fix Version/s: EAP 5.0.0.BETA
    • Component/s: System
    • Labels:
      None

      Description

      The JavaMail javax.mail.Session is not Serializable or Referenceable and is therefore bound to JNDI using the NonSerializableFactory. If, instead, a javax.naming.spi.ObjectFactory MailSessionFactory implementation were used, the Session could be bound such that remote lookups could create a centrally configured Session.

      I think the implementation of the change is limited to the org.jboss.mail.MailService and perhaps the creation of the ObjectFactory if we do not want to use an existing factory such as the org.apache.naming.factory.MailSessionFactory because of dependency issues (see attached version from a support customer.)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dimitris Dimitris Andreadis
                Reporter:
                miclark Mike Clark
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: