Email Notification of Any Subscriptions (New Announcements, Discussions etc) is Not Sent to Users. Error javax.naming.NameNotFoundException remaining name '' (Doc ID 1669720.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

On WebCenter Portal 11.1.1.8,  when a new Announcement is created, no email is sent to users who have subscribed to the announcement creation on the Portal.

 

The follow high levels  steps shows what is done:
1 .Create 2 users, userA and userB  and ensure email address is entered for both in LDAP server.
2. Configure Discussions & Announcements, setup Email connection and External Application (with shared credential)  in Portal Service Configuration.
3. As userA, create a Portal, Add announcement task flow and add userB as member.
4. As userB, login to Portal  and subscribe to the announcements (browser Portal, right click on the portal name, subsribe)
5. As userA, create an announcement.
6. Check if email is received by userB.  No email will be received.

 

The error in the diagnostic log file is:

[2014-05-06T10:32:45.540+10:00] [WC_Spaces] [WARNING] [WCS-50020] [oracle.webcenter.notification.internal.spi.NotificationSenderFactory] [tid: WebCenter-NotificationThread] [userId: weblogic] [ecid: 1a415a2320349134:-2c53e0b3:145ceed6081:-8000-0000000000000bc6,1:29265] [APP: webcenter#11.1.1.4.0] Error occurred in initializing the notification sender[[
oracle.webcenter.notification.NotificationServiceException: Error occurred in initializing the notification sender
       at oracle.webcenter.notification.internal.spi.impl.MailNotificationSender.initialize(MailNotificationSender.java:137)
       at oracle.webcenter.notification.internal.spi.NotificationSenderFactory.getSender(NotificationSenderFactory.java:93)
       at oracle.webcenter.notification.internal.runtime.NotificationProcessor.doSetup(NotificationProcessor.java:254)
       at oracle.webcenter.notification.internal.runtime.NotificationProcessor.run(NotificationProcessor.java:193)
       at java.util.TimerThread.mainLoop(Timer.java:555)
       at java.util.TimerThread.run(Timer.java:505)
Caused by: javax.naming.NameNotFoundException: ; remaining name ''
       at oracle.webcenter.framework.service.WebCenterConfig.getConnection(WebCenterConfig.java:203)
       at oracle.webcenter.notification.internal.spi.impl.MailNotificationSender.initialize(MailNotificationSender.java:102)
       ... 5 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