Email Body is empty in BPM/SOA Human Task Notification after applying Bundle Patch 11.1.1.7.5
(Doc ID 1982532.1)
Last updated on JULY 07, 2020
Applies to:
Oracle Business Process Management Suite - Version 11.1.1.7.0 and laterIdentity Manager - Version 11.1.2.2.5 to 11.1.2.2.5 [Release 11g]
Information in this document applies to any platform.
Symptoms
After recently upgrading to BPM / SOA Bundle Patch 11.1.1.7.5, the human task email notifications do not contain body content due to the HTTP port being used instead of HTTPS.
In the logs you might see the following errors:
at weblogic.net.http.HttpClient.openServer(HttpClient.java:384)
at weblogic.net.http.HttpClient.New(HttpClient.java:252)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:213)
at weblogic.net.http.HttpURLConnection.followRedirect(HttpURLConnection.java:698)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:464)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
at oracle.bpel.services.workflow.task.notification.html.HTMLTagReader.initialize(HTMLTagReader.java:170)
at oracle.bpel.services.workflow.task.notification.html.GenericHTMLContentParser.parse(GenericHTMLContentParser.java:387)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.parseHtmlContentForImages(TaskNotifications.java:1600)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.getEmailPayload(TaskNotifications.java:1404)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.getEmailNotificationContent(TaskNotifications.java:1072)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.sendEmailNotification(TaskNotifications.java:1034)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.sendPreferredNotification(TaskNotifications.java:2342)
You could also see this error:
at weblogic.net.http.HttpClient.openServer(HttpClient.java:333)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:425)
at weblogic.net.http.HttpClient.New(HttpClient.java:252)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:213)
at oracle.bpel.services.workflow.task.notification.html.HTMLTagReader.initialize(HTMLTagReader.java:167)
at oracle.bpel.services.workflow.task.notification.html.GenericHTMLContentParser.parse(GenericHTMLContentParser.java:387)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.parseHtmlContentForImages(TaskNotifications.java:1600)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.getEmailPayload(TaskNotifications.java:1404)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.getEmailNotificationContent(TaskNotifications.java:1072)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.sendEmailNotification(TaskNotifications.java:1034)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.notifyForTaskInternal(TaskNotifications.java:718)
at oracle.bpel.services.workflow.task.notification.TaskNotifications.notifyForTask(TaskNotifications.java:535)
at oracle.bpel.services.workflow.task.notification.MDBTaskNotificationConsumer.deliverNotification(MDBTaskNotificationConsumer.java:349)
at oracle.bpel.services.workflow.task.notification.MDBTaskNotificationConsumer.onMessage(MDBTaskNotificationConsumer.java:213)
Steps to replicate the issue involve configuring https for the task by modifying the task Administration properties in enterprise manager. https is enabled simply by setting the https port, as soa should prefer https over http.
Changes
This happens in an environment where SSL is enabled and the human task has been configured with an HTTPS port.
The first error Unsupported protocol: https' actually occurs because the email is being generated via http, goes out to a load balancer, and the traffic is redirected to https (which is not supported per weblogic KM 1302973.1)
The second error occurs because again the email is being generated via http, but the http port isn't available.
In both situations the problem is that it is generating the email content using http when you have actually configured https. This is related to bugs:
19674030 - Error getting email content for default todo task
17412297 - INITIATOR AND TASK IN INBOX HAVE DIFFERENT PRECEDENCE OF HTTP/HTTPS PROTOCOLS
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |