Error: "Error While Trying to Load Messages: AUTHENTICATE Failed javax.mail.AuthenticationFailedException: AUTHENTICATE Failed" When Starting the Email Status Service

(Doc ID 2414483.1)

Last updated on JULY 09, 2018

Applies to:

Primavera P6 Team Member - Version 17.12.6.0 and later
Information in this document applies to any platform.

Symptoms

When starting the TM Email status service the following error is observed in the logs:

2018-06-22 11:48:00,387 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] INFO com.oracle.pgbu.teammember.messaging.TaskMessageServiceImpl - Done - Archive messages.
2018-06-22 11:48:00,387 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] INFO com.oracle.pgbu.teammember.messaging.TaskMessageServiceImpl - Done - Processing updated tasks.
2018-06-22 11:49:00,012 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-5] INFO com.oracle.pgbu.teammember.messaging.TaskMessageServiceImpl - Start - Processing updated tasks....
2018-06-22 11:49:00,012 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-5] INFO com.oracle.pgbu.teammember.messaging.TaskMessageServiceImpl - Start - Retrieving all new messages.
2018-06-22 11:49:00,340 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-5] ERROR com.oracle.pgbu.teammember.messaging.dao.ImapMessageDao - Error while trying to load messages: AUTHENTICATE failed
javax.mail.AuthenticationFailedException: AUTHENTICATE failed
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:717)
at javax.mail.Service.connect(Service.java:366)
at javax.mail.Service.connect(Service.java:246)
at com.oracle.pgbu.teammember.messaging.dao.ImapMessageDao.loadMessages(ImapMessageDao.java:53)
at com.oracle.pgbu.teammember.messaging.TaskMessageServiceImpl.processUpdatedTasks(TaskMessageServiceImpl.java:40)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:269)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:257)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:75)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

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