cancel
Showing results for 
Search instead for 
Did you mean: 

TIBCO EMS JMS Connection Error (Not Using Hermes But ReadyAPI) MAC

Highlighted
Community Hero

Re: TIBCO EMS JMS Connection Error: Could not establish a JMS connection

Also check if below link helps
https://www.jbrandsma.com/news/2019/01/25/use-ems-via-the-java-api/
https://docs.oracle.com/javase/7/docs/api/javax/naming/AuthenticationException.html

What are the libraries have you copied under ReadyAPI Installation/bin/ext directory?


Regards,
Rao.
Highlighted
Occasional Contributor

Re: TIBCO EMS JMS Connection Error: Could not establish a JMS connection

I am not sure this EMS/JAVA tutorial is even addressing any of these issues. We want connectivity from SOAPUI to EMS using or not an intermediary. With Hermes we had incompatible 1.6 and 1.7 JAVA. With 1.8 or 1.7 I couldnt run Hermes on the MAC. The MAC is the ISSUE!!! This runs fine on Windows.

 

The libraries under ReadyAPI Installation/bin/ext directory are relevant and are the following:

 

jms-2.0.jar

tibemsd_sec.jar

tibjms.jar

tibjmsadmin.jar

slf4j-api-1.5.2.jar

tibjmsapps.jar

slf4j-simple-1.5.2.jar

tibjmsufo.jar

sqljdbc42.jar

tibrvjms.jar

tibcrypt.jar

 

We have access to these libraries since we have a license to this product.

 

Thanks for trying though!

 

Willie

 

 

Highlighted
Occasional Contributor

Re: TIBCO EMS JMS Connection Error: Could not establish a JMS connection

Yes, we can connect to EMS using the admin tool without any issues.

 

Thanks!

 

Willie

Highlighted
Community Hero

Re: TIBCO EMS JMS Connection Error: Could not establish a JMS connection

Thanks for the replies.

Would you please check if there any library name starting with jmsxx.jar under ReadyAPI_Home/lib? If so, take a backup and remove it as you have jms 2.0 library in ext directory.

Are you able to ping the hostname(where EMS is running) from you machine?

May be you want to use that Java sample and see are you able to connect(from the same machine as ReadyAPI is running) just to isolate the issue.


Regards,
Rao.
Highlighted
Community Hero

Re: TIBCO EMS JMS Connection Error: Could not establish a JMS connection

You may also try with ems machine ip address instead of hostname. Hope credentials are good.


Regards,
Rao.
Highlighted
Occasional Contributor

Re: TIBCO EMS JMS Connection Error: Could not establish a JMS connection

I am able to connect to the EMS servers using another software from my machine. Connectivity is not the problem here. It does connect but apparently it doesnt send the right data from REadyAPI. BTW, the jms2.0 substitution did not work. ReadyAPI was using jms1-1.jar before I substituted it.

 

For SOAPUI/Hermes its the incompatible libraries. 

 

Thanks!

 

Willie

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!


Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server
Top Kudoed Authors