TIBCO EMS JMS Connection Error (Not Using Hermes But ReadyAPI) MAC
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TIBCO EMS JMS Connection Error (Not Using Hermes But ReadyAPI) MAC
I have a manual JMS Connection inside ReadyAPI but I am unable to connect to TIBCO EMS. I get this error:
Could not establish a JMS connection: javax.naming.AuthenticationException: Not permitted: authentication failed [Root exception is javax.jms.JMSSecurityException: authentication failed]
I am setting the JMS Connection like this:
The error in EMS shows like this:
2020-06-18 20:21:47.151 [anonymous@LMHQUCIS447992]: connect failed: not authorized to connect
What am I missing in my Connection Configuration?
Thanks a lot!
Willie Padin
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, we can connect to EMS using the admin tool without any issues.
Thanks!
Willie
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »