Support Article
System does not attach an Excel file in the outbound email
Summary
System does not attach an Excel file in the outbound email.
Error Messages
Not Applicable.
Steps to Reproduce
- Log in to the application
- Add a flow shape to send email
- Check the checkbox to add an attachment
Root Cause
The class loading strategy of Pega and that of JBoss collide for javax.activation that is provided both as an external library, from JBoss, and as part of the Java Runtime Library.
Resolution
Perform the following local-change:
Modify the file <JBoss_Home>/modules/system/layers/base/javax/activation/api/main/module.xml on all the JBOSS nodes running Pega as shown below:
<module xmlns="urn:jboss:module:1.3" name="javax.activation.api">
<dependencies>
<module name="javax.api" />
<module name="javax.mail.api" optional="true">
<imports>
<include path="META-INF"/>
</imports>
</module>
<module name="com.sun.xml.messaging.saaj" optional="true"/>
<module name="org.jboss.ws.native.jbossws-native-core" optional="true"/>
<module name="org.apache.cxf" optional="true"/>
<system export="true">
<paths>
<path name="javax/activation"/>
</paths>
</system>
</dependencies>
<!-- <resources>
<resource-root path="activation-1.1.1.redhat-5.jar"/>
</resources> -->
</module>
Published August 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.