ORABPEL-31015 when Sending Email Notification to User with Multiple Email Accounts

(Doc ID 1266049.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On SOA 11.1.1.3 integrated with Sun iPlanet LDAP, it is possible that some users have more than one email address entered in their profiles. Here, the "mail" column in the directory has a list of emails separated by commas. If SOA notifications are sent to these users, the notifications fail and the following errors are written to the log files:

[2010-10-18T17:27:57.168-04:00] [WLS_SOA1] [ERROR] [] [oracle.soa.services.notification]
[tid: orabpel.invoke.pool-4.thread-13] [userId: <anonymous>]
[ecid: 004^ifPUznz0nnz5k3y0UZ0000W2000xr2,0:1:2:1:18:100000012] [APP: soa-infra]
[composite_name: Test_UserNotification] [component_name: EmailUser]
[component_instance_id: 530013] [URI: /soa-infra/services/Test/Test_UserNotification/emailuser_client_ep]
<.> Error while sending notification.
[[Error while sending notification to User Notification : 1088059.
Possible causes : SDPMessaging Driver not configured; Invalid To Address is used;
Email server/Messaging gateway is down; using IP address as part of email ID instead of domain name;.

ORABPEL-31015

Error while sending notification.
Error while sending notification to User Notification : 1088059.
Possible causes : SDPMessaging Driver not configured; Invalid To Address is used;
Email server/Messaging gateway is down; using IP address as part of email ID instead of domain name;.

at oracle.bpel.services.notification.impl.UserPrefNotificationService.sendNotificationToUsers(UserPrefNotificationService.java:188)
at oracle.bpel.services.notification.NotificationService.sendNotificationToUser(NotificationService.java:336)
at oracle.bpel.services.notification.NotificationService.sendNotificationToUser(NotificationService.java:316)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
at oracle.tip.pc.services.identity.jps.IdentityImpl.getEmail(IdentityImpl.java:399)
at oracle.bpel.services.notification.impl.UserPrefNotificationService.sendUserPreferredNotification(UserPrefNotificationService.java:355)
at oracle.bpel.services.notification.impl.UserPrefNotificationService.sendNotificationToUser(UserPrefNotificationService.java:319)
at oracle.bpel.services.notification.impl.UserPrefNotificationService.sendNotificationToUsers(UserPrefNotificationService.java:173)
... 82 more

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms