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
http://www.techsnib.com/2015/12/configure-hermes-jms-for-tibco-ems-test.html
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rao,
If you look at the screens I inserted in the message, you could tell that I am not using Hermes. I am using ReadyAPI. Hermes doesnt work in my MAC due to incompatible libraries with EMS. Hermes in MAC expects JAVA 1.6 and TIBCO libraries are based on JAVA 1.7. So I am using the alternative of ReadyAPI. I have it all configured but I am having the mentioned errors above.
Thanks!
Willie
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is NOT correct! The documentation states otherwise.
https://support.smartbear.com/readyapi/docs/testing/jms/config.html
Please Rao! I am looking for a solution. If you read the very first message, it does connect to EMS its just apparently not transmitting the u/p correctly. But it is making the connection WITHOUT HERMES.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I cant help with this issue per se, but i have a possible suggestion.
You state you cant use Hermes on MAC, cos Hermes needs java 6 and EMS needs java7, right?
I had a similar issue a couple of years ago where some jdbc .jar drivers i needed used java2, but ReadyAPI! groovy needed java6 or 7. I thought i was stuffed. My groovy worked on java7, but soon as i downgraded my java to 2 to get the db connection sorted, i was getting runtime errors in my groovy.
I thought about it for a bit and started wondering. Yes my .jar files used java libraries from java2, but unless those libraries had been deprecated in later versions, i could in fact use later versions of java. It worked. Despite the .jar file instructions indicating java2 was needed, i could infact get my db connection and groovy working in java7.
Perhaps the same is possible for Hermes.....? Have you tried it with jdk v1.7?
Just a suggestion!
Nice one,
Rich
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I did. HermesJMS does not start correctly with 1.7.
Thank you for your suggestion though!
Willie
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thats me for suggestions then. I did have a quick look and TIBCO have produced a .pdf indicating how to configure an EMS connection with soapui, but the .pdf doesnt mention the operating system at all (so assumes Windows, not MAC), references eviware not smartbear (so its quite old) and suggest using Hermes.
I got nothing else. I should highlight that i found that after a minute of searching. Have you done an relatively exhaustive search? There may be posts on other forums such as stackoverflow, etc.
Ta
Rich
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rich,
This has not been solved by any suggestions. Once it is I will provide the solution here. There is no problem in windows at all but I need it working on mac.
Thanks!
Willie
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the late reply. Have used with HermesJMS long back in Open Source edition.
Thanks for the link, I can see that ReadyAPI can talk to JMS vendors, am not aware of it.
Are you able to connect to JMS server using admin tool using the url and credentials?
Regards,
Rao.
