AnsweredAssumed Answered

JMSSecurityException is thrown, while connecting to Topic EMS JNDI Topic/Queue from JMS Sens/Receive step

Question asked by Maddy007 on Aug 23, 2017
Latest reply on Aug 25, 2017 by Maddy007

Greetings Team,

 

I am facing a weird problem, hoping to find the resolution from experts.

 

Scenario: I have to Virtualize JNDI based Topic/Queue created on Tibco EMS server.

 

We are not allowed to create the proxy Topic/Queue on Tibco EMS as there is no need of LIVE invocation implementation.

 

Approach :

1. Create VS image- Through Request-Response pair

2. Mapped the Req-Res pair directory

3. Selected transport protocol as JMS

4. In the transport protocol configuration screen, disabled LIVE Invocation option

5. Created and selected Actual/Live JMS (JNDI Topic) assets from Proxy Request and Proxy Response dropdowns

6. Procedure followed to create the JMS Assets

Created JMS Session->JMS Connection-->JMS Connection Factory-->JNDI Context ( Asset Verification is successful)

Verifying Asset
Opening JNDI context with URL: ldap://*********************************
Performing JNDI lookup with name: fxClientDestinationUID=***********************
Success: class *******************************************

7. Selected class as JNDI Topic

 

In order to verify the JMS connectivity used the created JMS asset in "JMS Send Receive" step, however below error is thrown

 

Executing step
Autopopulated JMS Producer with producer:********  Connection Factory (JMS Message Producer)
Adjusting Runtime Scopes
Adjusting Runtime Scopes
Opening JNDI context with URL: ********
Performing JNDI lookup with name: fxClientDestinationUID=********
Performing JNDI lookup with name: fxClientUID=********
Creating JMS Connection
Error: Error creating connection with factory ******** Connection Factory: Failed to connect to any server at: tcp********,tcp********[Error: authentication failed: url that returned this exception = TCP********]


============================================================================
| Exception:
============================================================================
| Message:     Error creating connection with factory ******** Connection Factory: Failed to connect to any server at: tcp********,tcp********[Error: authentication failed: url that returned this exception = TCP********]
----------------------------------------------------------------------------
| Trapped Exception: Failed to connect to any server at: tcp:********,tcp********[Error: authentication failed: url that returned this exception = TCP********]
| Trapped Message:   javax.jms.JMSSecurityException: Failed to connect to any server at: tcp********,tcp********[Error: authentication failed: url that returned this exception = TCP********]
----------------------------------------------------------------------------
STACK TRACE
javax.jms.JMSSecurityException: Failed to connect to any server at: tcp********,tcp********[Error: authentication failed: url that returned this exception = TCP********]
 at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:1389)

 

When I use the same JMS connection details in "Tibco EMS Messaging (Deprecated) step", I am able to publish/subscribe the messages.

 

 

Please let me know, if any additional configuration/ setting needs to be done to use JMS Send/Receive step.

 

Thanks in advance.

Outcomes