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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

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
CEHJCommented:
You should be reporting the bug to them and since it's their software, they should be supporting it
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pramod1Author Commented:
they are saying why imap connection time out is happening
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.