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!
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.
That is NOT correct! The documentation states otherwise.
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.
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!
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.
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.
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?