Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.24.01
-
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
- causes
-
HGGE-88 Regression: Newsletter menu doesn't appear
- Closed
- relates to
-
HSTTWO-2441 Project pom pulls in both javax.mail and geronimo-javamail
- Closed