AnsweredAssumed Answered

Error creating connection with factory *******TopicConnectionFactory: authentication failed error is thrown while Sending/Receiving messages through JMS assets

Question asked by Maddy007 on Jul 20, 2017
Latest reply on Jul 25, 2017 by Maddy007

Greetings Team,

 

Objective- To create a Tibco EMS JNDI Based VS by Request and Response Pairs

Available Jars- tibcrypt and tibjms

Transport Protocol Used- JMS

Created the JMS Asset as follows

Class- JMS Topic-->JMS Connection (UserName/Password)-->JMS Connection Factory-->JNDI Context(UserName/Password)

After creating the assets changed the Class from JMS Topic to JMS JNDI Topic and selected the corresponding JNDI Context defined.

Step- JMS Send-Receive to verify the created assets

Issue-

This setup was working till yesterday, since today morning I am getting the below error.

----------------------------------------------------------------------------
| Trapped Exception: authentication failed
| Trapped Message:   javax.jms.JMSSecurityException: authentication failed
----------------------------------------------------------------------------

Quick guidance on resolution would be much appreciated.

Thanks inadvance.

Execution Log extract for reference.

Executing step
Autopopulated JMS Producer with producer:*******Topic@*******TopicConnectionFactory (JMS Message Producer)
Autopopulated JMS Producer.JMS Session with *******TopicConnectionFactory (JMS Session)
Adjusting Runtime Scopes
Adjusting Runtime Scopes
Opening JNDI context with URL: <<Ldap URL>>
Performing JNDI lookup with name: <<Topic Name>>
Performing JNDI lookup with name: <<JNDI Factory Name>>
Creating JMS Connection
Error: Error creating connection with factory *******TopicConnectionFactory: authentication failed


============================================================================
| Exception:
============================================================================
| Message:     Error creating connection with factory *******TopicConnectionFactory: authentication failed
----------------------------------------------------------------------------
| Trapped Exception: authentication failed
| Trapped Message:   javax.jms.JMSSecurityException: authentication failed
----------------------------------------------------------------------------
STACK TRACE
javax.jms.JMSSecurityException: authentication failed
 at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:575)
 at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:1338)
 at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:4127)
 at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:36)
 at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:191)
 at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:253)
 at com.tibco.tibjms.TibjmsConnectionFactory.createConnection(TibjmsConnectionFactory.java:36)
 at com.****.**.*********.jms.****JmsConnectionFactory.createConnection(****JmsConnectionFactory.java:222)
 at com.itko.lisa.messaging.asset.AbstractJmsConnectionFromFactoryAsset.createInstance(AbstractJmsConnectionFromFactoryAsset.java:131)
 at com.itko.lisa.messaging.asset.AbstractJmsConnectionFromFactoryAsset.createInstance(AbstractJmsConnectionFromFactoryAsset.java:42)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)
 at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)
 at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)
 at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)
 at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)
 at com.itko.lisa.messaging.asset.AbstractJmsSessionAsset.createInstance(AbstractJmsSessionAsset.java:84)
 at com.itko.lisa.messaging.asset.AbstractJmsSessionAsset.createInstance(AbstractJmsSessionAsset.java:35)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)
 at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)
 at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)
 at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)
 at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)
 at com.itko.lisa.messaging.asset.JmsProducerAsset.createInstance(JmsProducerAsset.java:106)
 at com.itko.lisa.messaging.asset.JmsProducerAsset.createInstance(JmsProducerAsset.java:29)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)
 at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)
 at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)
 at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)
 at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)
 at com.itko.lisa.messaging.jms.JmsSendOperation.doExecute(JmsSendOperation.java:190)
 at com.itko.lisa.messaging.jms.JmsSendOperation.doExecute(JmsSendOperation.java:68)
 at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)
 at com.itko.lisa.messaging.builder.AbstractSendReceiveOperation.doExecute(AbstractSendReceiveOperation.java:152)
 at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)
 at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:176)
 at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:125)
 at com.itko.lisa.asset.operation.AbstractOperationStepEditor$ExecuteTask.run(AbstractOperationStepEditor.java:575)
 at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:116)
 at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:98)
 at javax.swing.SwingWorker$1.call(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at javax.swing.SwingWorker.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
============================================================================


 at com.itko.lisa.messaging.asset.AbstractJmsConnectionFromFactoryAsset.createInstance(AbstractJmsConnectionFromFactoryAsset.java:134)
 at com.itko.lisa.messaging.asset.AbstractJmsConnectionFromFactoryAsset.createInstance(AbstractJmsConnectionFromFactoryAsset.java:42)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)
 at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)
 at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)
 at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)
 at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)
 at com.itko.lisa.messaging.asset.AbstractJmsSessionAsset.createInstance(AbstractJmsSessionAsset.java:84)
 at com.itko.lisa.messaging.asset.AbstractJmsSessionAsset.createInstance(AbstractJmsSessionAsset.java:35)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)
 at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)
 at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)
 at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)
 at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)
 at com.itko.lisa.messaging.asset.JmsProducerAsset.createInstance(JmsProducerAsset.java:106)
 at com.itko.lisa.messaging.asset.JmsProducerAsset.createInstance(JmsProducerAsset.java:29)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.open(LocalAssetRuntime.java:1691)
 at com.itko.lisa.asset.LocalAssetRuntime$InstanceEntry.checkOut(LocalAssetRuntime.java:1227)
 at com.itko.lisa.asset.LocalAssetRuntime$RuntimeEntry.checkOut(LocalAssetRuntime.java:660)
 at com.itko.lisa.asset.LocalAssetRuntime.doOpenAsset(LocalAssetRuntime.java:157)
 at com.itko.lisa.asset.LocalAssetRuntime.openAssetInScope(LocalAssetRuntime.java:109)
 at com.itko.lisa.asset.LocalAssetRuntime.openAsset(LocalAssetRuntime.java:100)
 at com.itko.lisa.messaging.jms.JmsSendOperation.doExecute(JmsSendOperation.java:190)
 at com.itko.lisa.messaging.jms.JmsSendOperation.doExecute(JmsSendOperation.java:68)
 at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)
 at com.itko.lisa.messaging.builder.AbstractSendReceiveOperation.doExecute(AbstractSendReceiveOperation.java:152)
 at com.itko.lisa.asset.operation.AbstractRuntimeOperation.execute(AbstractRuntimeOperation.java:167)
 at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:176)
 at com.itko.lisa.asset.operation.AbstractOperationStep.execute(AbstractOperationStep.java:125)
 at com.itko.lisa.asset.operation.AbstractOperationStepEditor$ExecuteTask.run(AbstractOperationStepEditor.java:575)
 at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:116)
 at com.itko.lisa.asset.ui.ProgressLog$Worker.doInBackground(ProgressLog.java:98)
 at javax.swing.SwingWorker$1.call(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at javax.swing.SwingWorker.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

Outcomes