Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-6841

Project pom pulls in both javax.mail and geronimo-javamail

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.01
    • 2.24.01
    • cms7-project
    • None

    Description

      The project pom pulls in both javax.mail:mail (directly) and org.apache.geronimo.specs:geronimo-javamail_1.4_spec (via Apache CXF). These jars contain identical classes, which cause classloader issues once javax.mail functionality is used. For example, loading a javax.mail.Session object via JNDI will retrieve different versions of that same class, resulting in ClassCastExceptions.

      According to Ate we choose to use javax.mail in our stack. The geronimo version should therefore be excluded.

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              mdenburger Mathijs den Burger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: