Direct link to fix
APAR status
Closed as fixed if next.
Error description
If you have not specified outgoing server parameters in the IBM WebSphere Application Server mail session configuration, you see the following error in the SystemErr.log file: SEVERE: Failed to initialize mail session. E-mail notification will be disabled. This can happen if you have not specified outgoing server parameters in the application server mail session configuration. java.lang.ClassCastException: javax.mail.Session incompatible with javax.mail.Session
Local fix
1. Add isolatedClassLoader="true" and <classpath>INSTALL_BAW_ROOT/BPM/Lombardi/lib/mail.jar</classpath > in "Built-in Mail Provider" of INSTALL_BAW_ROOT/profiles/DmgrProfile/config/cells/CellName/clus ters/AppClusterName/resources.xml. For example: <resources.mail:MailProvider xmi:id="builtin_mailprovider" name="Built-in Mail Provider" description="The built-in mail provider" isolatedClassLoader="true"> <classpath>/opt/bpm/BPM/Lombardi/lib/mail.jar</classpath> <factories xmi:type="resources.mail:MailSession" xmi:id="MailSession_1586670919810" name="CNMailSession" jndiName="mail/CNMailSession" description="ICN Mail Session" mailTransportProtocol="builtin_smtp" mailStoreProtocol="builtin_imap"/> 2. In the admin console, click System administration > Nodes, choose Managed nodes, and click "full resynchronize". 3. Restart WebSphere Application Server.
Problem summary
This issue occurs because javax.mail.Session class is loaded from two different .jar files.
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
JR62287
Reported component name
BUS AUTO WORKFL
Reported component ID
5737H4100
Reported release
J00
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-04-29
Closed date
2020-05-21
Last modified date
2020-05-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"19.0.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
22 June 2020