Email Notifications using UMS Fail on One Server In The Cluster with: SDP-25503, ORABPEL-31017, ORABPEL-31015 and "java.lang.NullPointerException at oracle.bpel.services.notification.impl.asns.ASNSInteractionBean.send(ASNSInteractionBean.java:219)"

(Doc ID 2054237.1)

Last updated on MARCH 08, 2017

Applies to:

Identity Manager - Version 11.1.2.2.0 and later
Oracle SOA Suite - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

You have UMS email notifications set up and attempt to send a test email from the Notification Management tab in the EM console.

This works for several cluster nodes, however - on one node in your cluster, notifications are not sent out and you see the following error:

Error while sending notification. Error while sending notification to email. Check the underlying exception and fix it. ; Error while sending notification. Error while sending notification to email. Check the underlying exception and fix it. ; EJB Exception: : java.lang.NullPointerException
at oracle.bpel.services.notification.impl.asns.ASNSInteractionBean.send(ASNSInteractionBean.java:219)
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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:103)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:113)
at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAs(JpsSubject.java:213)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:454)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:100)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:154)

 The diagnostic log for the cluster node with the error, has the following additional errors:

[2015-07-23T08:58:55.181-04:00] [soa_server1] [ERROR] [SDP-25503] [oracle.sdp.messaging.client] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 59fea0a072c6bb76:-253812ab:14eb6c5f075:-8000-0000000000001aba,0] [APP: soa-infra] Unable to connect to the messaging server.[[
javax.naming.NamingException: unable to find primary representative
    at weblogic.rmi.cluster.ClusterableRemoteObject.getReferent(ClusterableRemoteObject.java:131)
....
]]

[2015-07-23T08:58:55.185-04:00] [soa_server1] [ERROR] [] [oracle.soa.services.notification] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 59fea0a072c6bb76:-253812ab:14eb6c5f075:-8000-0000000000001aba,0] [APP: soa-infra] <.> Cannot create notification object.[[
Error while creating MessagingClient object.
Internal error; Cannot create Notification Object.
 ORABPEL-31017
Cannot create notification object.
Error while creating MessagingClient object.
Internal error; Cannot create Notification Object.
    at oracle.bpel.services.notification.impl.asns.ASNSInteractionBean.ejbCreate(ASNSInteractionBean.java:123)
...
Caused by: oracle.sdp.messaging.MessagingException: Unable to register application info: null
Cause: unable to find primary representative
    at oracle.sdpinternal.messaging.MessagingClientImpl.registerApplication(MessagingClientImpl.java:584)
...
Caused by: oracle.sdp.messaging.MessagingException: Could not get Messaging Store Home.: null
Cause: unable to find primary representative
    at oracle.sdpinternal.messaging.StoreProxyAdapter.initRemoteStoreHome(StoreProxyAdapter.java:213)
...
Caused by: javax.naming.NamingException: unable to find primary representative
    at weblogic.rmi.cluster.ClusterableRemoteObject.getReferent(ClusterableRemoteObject.java:131)
...
]]
[2015-07-23T08:58:55.198-04:00] [soa_server1] [ERROR] [] [oracle.soa.services.notification] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 59fea0a072c6bb76:-253812ab:14eb6c5f075:-8000-0000000000001aba,0] [APP: soa-infra] <.> Error while sending notification.[[
Error while sending notification to email.
Check the underlying exception and fix it.
 ORABPEL-31015
Error while sending notification.
Error while sending notification to email.
Check the underlying exception and fix it.
    at oracle.bpel.services.notification.impl.DefaultNotificationServiceImpl.sendEmailNotification(DefaultNotificationServiceImpl.java:285)
....
Caused by: javax.ejb.EJBException: EJB Exception: : java.lang.NullPointerException
    at oracle.bpel.services.notification.impl.asns.ASNSInteractionBean.send(ASNSInteractionBean.java:219)
....
; nested exception is: java.lang.NullPointerException
...
Caused by: java.lang.NullPointerException
    at oracle.bpel.services.notification.impl.asns.ASNSInteractionBean.send(ASNSInteractionBean.java:219)
....

]]
[2015-07-23T08:58:55.205-04:00] [soa_server1] [ERROR] [] [oracle.soa.services.notification] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 59fea0a072c6bb76:-253812ab:14eb6c5f075:-8000-0000000000001aba,0] [APP: soa-infra] <MDBConsumer.processNotification>  Error for message ID ac6b531520821910:-68e03c44:14ebaeb9dca:-7c10 ERROR MESSAGE : Error while sending notification.[[
Error while sending notification to email.
Check the underlying exception and fix it.
;

Error while sending notification.
Error while sending notification to email.
Check the underlying exception and fix it.
;

EJB Exception: : java.lang.NullPointerException
    at oracle.bpel.services.notification.impl.asns.ASNSInteractionBean.send(ASNSInteractionBean.java:219)
....
; nested exception is: java.lang.NullPointerException;

null;


]]

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