AWS, EXCHANGE, JAVA

we are getting  authentication failure for aws mailboxes.

AUTHENTICATE failed. AUTHENTICATE failed. com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:606) javax.mail.Service.connect(Service.java:291) javax.mail.Service.connect(Service.java:172) com.irm.core.email.AWSIMAPAdapterImpl.readMailthrougIMAP(AWSIMAPAdapterImpl.java:148) sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) java.lang.reflect.Method.invoke(Method.java:611) teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81) com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51) teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49) com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146) com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79) com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409) com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1278) com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeTask(EJBWorkflowManagerBean.java:353) com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeTask(EJBWorkflowManagerBean.java:317) com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeTask(Unknown Source) com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeTask(_EJBWorkflowManagerInterface_Stub.java:287) com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeTask(EJBWorkflowManagerDelegateDefault.java:94) com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$4.run(EJBWorkflowManagerDelegateWebSphere.java:68) java.security.AccessController.doPrivileged(AccessController.java:327) com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197) com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181) com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeTask(EJBWorkflowManagerDelegateWebSphere.java:66) com.lombardisoftware.bpd.runtime.engine.quartz.ExecuteSystemLaneActivityTask$1.run(ExecuteSystemLaneActivityTask.java:70) java.security.AccessController.doPrivileged(AccessController.java:362) javax.security.auth.Subject.doAs(Subject.java:573) com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:195) com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:152) com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAs(WebsphereDelegateHelper.java:172) com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$5.run(WebsphereDelegateHelper.java:139) java.security.AccessController.doPrivileged(AccessController.java:327) com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAs(WebsphereDelegateHelper.java:134) com.lombardisoftware.bpd.runtime.engine.quartz.ExecuteSystemLaneActivityTask.execute(ExecuteSystemLaneActivityTask.java:89) com.lombardisoftware.server.scheduler.Engine.execute(Engine.java:903) com.lombardisoftware.server.scheduler.Engine.access$600(Engine.java:101) com.lombardisoftware.server.scheduler.Engine$1.run(Engine.java:553) com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$3$1.run(WebsphereDelegateHelper.java:100) java.security.AccessController.doPrivileged(AccessController.java:362) javax.security.auth.Subject.doAs(Subject.java:573) com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:195) com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:152) com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAs(WebsphereDelegateHelper.java:172) com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$3.run(WebsphereDelegateHelper.java:96) com.lombardisoftware.server.scheduler.Utils$EJBThreadRootRunnable.executeRunnable(Utils.java:113) com.lombardisoftware.server.scheduler.ThreadPool$Worker.run(ThreadPool.java:207) java.lang.Thread.run(Thread.java:784) javax.mail.AuthenticationFailedException: AUTHENTICATE failed. javax.mail.AuthenticationFailedException: AUTHENTICATE failed. at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:606) at javax.mail.Service.connect(Service.java:291) at javax.mail.Service.connect(Service.java:172) at com.irm.core.email.AWSIMAPAdapterImpl.readMailthrougIMAP(AWSIMAPAdapterImpl.java:148) at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at teamworks.connector.JavaReflectionConnector$1.execute(JavaReflectionConnector.java:81) at com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.executeWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:51) at teamworks.connector.JavaReflectionConnector.execute(JavaReflectionConnector.java:49) at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.invokeJavaMethod(JavaConnectorWorker.java:146) at com.lombardisoftware.component.javaconnector.worker.JavaConnectorWorker.doJob(JavaConnectorWorker.java:79) at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:409) at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1278) at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeTask(EJBWorkflowManagerBean.java:353) at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeTask(EJBWorkflowManagerBean.java:317) at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeTask(Unknown Source) at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeTask(_EJBWorkflowManagerInterface_Stub.java:287) at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeTask(EJBWorkflowManagerDelegateDefault.java:94) at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$4.run(EJBWorkflowManagerDelegateWebSphere.java:68) at java.security.AccessController.doPrivileged(AccessController.java:327) at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:197) at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:181) at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeTask(EJBWorkflowManagerDelegateWebSphere.java:66) at com.lombardisoftware.bpd.runtime.engine.quartz.ExecuteSystemLaneActivityTask$1.run(ExecuteSystemLaneActivityTask.java:70) at java.security.AccessController.doPrivileged(AccessController.java:362) at javax.security.auth.Subject.doAs(Subject.java:573) at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:195) at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:152) at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAs(WebsphereDelegateHelper.java:172) at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$5.run(WebsphereDelegateHelper.java:139) at java.security.AccessController.doPrivileged(AccessController.java:327) at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAs(WebsphereDelegateHelper.java:134) at com.lombardisoftware.bpd.runtime.engine.quartz.ExecuteSystemLaneActivityTask.execute(ExecuteSystemLaneActivityTask.java:89) at com.lombardisoftware.server.scheduler.Engine.execute(Engine.java:903) at com.lombardisoftware.server.scheduler.Engine.access$600(Engine.java:101) at com.lombardisoftware.server.scheduler.Engine$1.run(Engine.java:553) at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$3$1.run(WebsphereDelegateHelper.java:100) at java.security.AccessController.doPrivileged(AccessController.java:362) at javax.security.auth.Subject.doAs(Subject.java:573) at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:195) at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:152) at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAs(WebsphereDelegateHelper.java:172) at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$3.run(WebsphereDelegateHelper.java:96) at com.lombardisoftware.server.scheduler.Utils$EJBThreadRootRunnable.executeRunnable(Utils.java:113) at com.lombardisoftware.server.scheduler.ThreadPool$Worker.run(ThreadPool.java:207) at java.lang.Thread.run(Thread.java:784)
pramod1Asked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
You should be reporting the bug to them and since it's their software, they should be supporting it
0
 
CEHJCommented:
That exception is not really legible like that - you should have posted it in code tags.

The upshot is that you haven't authenticated properly in the software that's connecting to the mailbox
0
 
pramod1Author Commented:
what I haven't authenticated properly?
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
CEHJCommented:
You need to authenticate to connect to a mail server. You have not done so successfully. Why - i don't know and that would take some research
0
 
pramod1Author Commented:
it disconnects and reconnects on its own
0
 
CEHJCommented:
Sorry - i don't understand. If it reconnected then you wouldn't have a problem would you?
0
 
pramod1Author Commented:
but the SAME error throws again after 6 or 7 hrs and ingestion gets stopped for AWS
0
 
CEHJCommented:
This is IBM cloud software you're using?
0
 
pramod1Author Commented:
yes IBM BPM
0
 
pramod1Author Commented:
no cloud
0
 
pramod1Author Commented:
IBM business process manager
0
 
pramod1Author Commented:
we recently started having this issue AWS was not able to ingest mails from mailboxes and now it happened to lot of mailboxes

for which I shared the error
0
 
pramod1Author Commented:
all I need to know where and what needs to be checked
0
 
pramod1Author Commented:
they are saying why imap connection time out is happening
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.