Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

System does not attach an Excel file in the outbound email



System does not attach an Excel file in the outbound email.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Log in to the application
  2. Add a flow shape to send email
  3. 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.


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">
    <module name="javax.api" />
    <module name="javax.mail.api" optional="true">
        <include path="META-INF"/>
    <module name="com.sun.xml.messaging.saaj" optional="true"/>
    <module name="" optional="true"/>
    <module name="org.apache.cxf" optional="true"/>
    <system export="true">
        <path name="javax/activation"/>
    <!-- <resources>
      <resource-root path="activation-1.1.1.redhat-5.jar"/>
    </resources> -->


Published August 19, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us