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

Campaign hangs while running Outbound email campaign



While running outbound email campaigns, the JVM running the SendEmailsinBulk agent hangs, either the childRequestors hang or the entire JVM becomes unresponsive.

Error Messages

None. Thread dumps show one or more threads in this state:

"PegaRULES-Batch-109" daemon prio=10 tid=0x00007ffa1c05e000 nid=0x41b8 runnable [0x00007ff9b88c5000]
java.lang.Thread.State: RUNNABLE
at Method)
- locked <0x0000000789a80940> (a
at com.sun.mail.util.LineInputStream.readLine(
at com.sun.mail.smtp.SMTPTransport.readServerResponse(
at com.sun.mail.smtp.SMTPTransport.openServer(
at com.sun.mail.smtp.SMTPTransport.protocolConnect(
- locked <0x0000000789a80aa8> (a com.sun.mail.smtp.SMTPTransport)
at javax.mail.Service.connect(
- locked <0x0000000789a80aa8> (a com.sun.mail.smtp.SMTPTransport)
at javax.mail.Service.connect(
at com.pegarules.generated.SendMessage_072101_WSOAdamfvonXcONcNLQJ_A.SendMessage07_21_01(
at com.pegarules.generated.SendMessage_072101_WSOAdamfvonXcONcNLQJ_A.invoke(
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(
at com.pegarules.generated.pegamkt_mailutilities_mailutilities.SendMessage(

Steps to Reproduce

Execute Outbound email campaign, monitor threads in JVM.

Root Cause

A defect in Pegasystems’ code or rules will allow SendMessage to wait forever if mail server is non-responsive. Updated code will implement a wait timeout, so that non-responsive mail servers cannot hang threads indefinately.


Apply HFix-33001 for Pega Marketing 7.21

Published March 15, 2017 - 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