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

SA-35078

Summary



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 java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
- locked <0x0000000789a80940> (a java.io.BufferedInputStream)
at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89)
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2284)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2031)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:697)
- locked <0x0000000789a80aa8> (a com.sun.mail.smtp.SMTPTransport)
at javax.mail.Service.connect(Service.java:364)
- locked <0x0000000789a80aa8> (a com.sun.mail.smtp.SMTPTransport)
at javax.mail.Service.connect(Service.java:245)
at com.pegarules.generated.SendMessage_072101_WSOAdamfvonXcONcNLQJ_A.SendMessage07_21_01(SendMessage_072101_WSOAdamfvonXcONcNLQJ_A.java:694)
at com.pegarules.generated.SendMessage_072101_WSOAdamfvonXcONcNLQJ_A.invoke(SendMessage_072101_WSOAdamfvonXcONcNLQJ_A.java:84)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9017)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
at com.pegarules.generated.pegamkt_mailutilities_mailutilities.SendMessage(pegamkt_mailutilities_mailutilities.java:159)


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.

Resolution



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