My Oracle Support Banner

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 OCTOBER 10, 2023

Applies to:

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


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


The following high level  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: <USERID>] [ecid: <ECID>] [APP: webcenter#] 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(
       at oracle.webcenter.notification.internal.spi.NotificationSenderFactory.getSender(
       at oracle.webcenter.notification.internal.runtime.NotificationProcessor.doSetup(
       at java.util.TimerThread.mainLoop(
Caused by: javax.naming.NameNotFoundException: ; remaining name ''
       at oracle.webcenter.framework.service.WebCenterConfig.getConnection(
       at oracle.webcenter.notification.internal.spi.impl.MailNotificationSender.initialize(
       ... 5 more





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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.