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

SA-84224

Summary



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.


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>




 

Suggest Edit

Published August 19, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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