You are currently reviewing an older revision of this page.
ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=<Email>, subject=<Subject>], Response: null, ServerName: NotificationsEmail)] - Exception: javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render … Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render … Caused by: javax.net.ConnectException: Connection Refused
The underlying cause of the issue can vary, but is usually associated with web server or application server configurations, or networking configurations.
The application server exposes and invokes an HTTP endpoint in order to generate the email body. When the application server is unable to invoke the endpoint (due to a configuration or networking issue), it will be unable to generate email bodies, and thus unable to send emails.
<APPIAN_HOME>/conf/custom.properties
This article applies to all versions of Appian.
Last Reviewed: January 2020