Support Article

Authentication failed for listener

SA-29132

Summary



The listener's authentication failed. A JMS MDB Listener has been created but at startup, said listener is failing.


Error Messages



2016-09-28 09:43:54,929 [AResourceAdapter : 1] [ STANDARD] [ ] [ ] (vices.listener.ListenerWrapper) ERROR - Failed to start listener: .MyDBListener, com.pega.pegarules.pub.PRException: Authentication failed for listener: .MyMDBListener
From: (A56B7F04668C2D04C1636E49C719F51BD)
2016-09-28 09:43:54,937 [AResourceAdapter : 1] [ STANDARD] [ ] [ ] (tener.ListenerStateManagerImpl) ERROR - Failed to create MDB Listener
com.pega.pegarules.pub.PRException: Failed to start listener: .MyMDBListener
From: (A8B6B3C1D2B43D578AC0E04564D91B411)
at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.launchListener(ListenerWrapper.java:245)
at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl$7.run(ListenerStateManagerImpl.java:1138)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1266)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1015)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:835)
at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.createMDBListener(ListenerStateManagerImpl.java:1107)
at com.pega.pegarules.integration.engine.internal.services.jms.JMSListenerServant.invoke(JMSListenerServant.java:101)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270)
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)

 


Steps to Reproduce



Not applicable


Root Cause



The Service Package associated with JMS MDB Listener has been configured to use authentication:



But the arriving request message doesn't contains authentication credentials.

 

Resolution



A local change has been implemented. The Service Package has been modified to uncheck authentication as it is not required in this case.
 

 

Published October 13, 2016 - Updated October 23, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.