Devki Nandan Singh Posted July 6, 2015 Share Posted July 6, 2015 Hi Everyone, I am facing one problem while creating jms connection .I am using JNDI connection factory and I am getting following result:- Queue connection factory 'QueueConnectionFactory' Connection failed - naming exception.Connection failed. Topic connection factory 'TopicConnectionFactory' Connection failed - naming exception.Connection failed. Could you guys suggest me some solution on the same. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted July 6, 2015 Share Posted July 6, 2015 Hi Milan, Thanks for your response. I am using BW version 5.8 and ems version is 7.0 . I tried both the methods that you mentioned but still its not working. I attached connection fields detail and error output. can you please check the same. Link to comment Share on other sites More sharing options...
Milan sahoo 3 Posted October 23, 2015 Share Posted October 23, 2015 Which Version of BW and EMS using.. Please do bellow needfull if your BW version is 5.12 or bellow and EMS 6.0 or bellow. 1.create two connection factory both for queue and topic. same mentioned in advanced tab of your jmsconnection activity and test . Alternate way : copy the factories.conf file from "C:tibcoems\samplesconfig" and paste in C:tibcoems\ folder , then restart Ems Server. For More Details follow the post Link to comment Share on other sites More sharing options...
Milan sahoo 3 Posted October 23, 2015 Share Posted October 23, 2015 https://tibbr.tibcommunity.com/tibbr/#!/messages/160413 Link to comment Share on other sites More sharing options...
Milan sahoo 3 Posted October 23, 2015 Share Posted October 23, 2015 can you check in EMS admin tool with the command "show factories" and check the factories exist or not.. If still not work please do bellow : You need to map the c:/tibco/ems/7.x/lib path in the designer and after you relaunch and test connection.In our project we are using EMS 6.0 but not sure the comaptability of EMS 7.0 with BW5.8. please refer the link in my previous post , There was a discussion on the same issue. Link to comment Share on other sites More sharing options...
Milan sahoo 3 Posted October 23, 2015 Share Posted October 23, 2015 I think u have created wrong queue connection factory .. I have checked your screenshot and found "Name not found QueueConnectionFactory". Just check you have created connection objects with proper name or not Link to comment Share on other sites More sharing options...
TIBCO BW Posted October 23, 2015 Share Posted October 23, 2015 DN Singh open factory.conf file and also open the advance of jms connection and then match the factory name present in the jms connection to the factory name present in the factory.conf file. You can even try this just copy the factory name from jms connection advance tab and do ctrl+f in the factoty.conf to check whether the factories are existing or not. If existing then test connection will work. Link to comment Share on other sites More sharing options...
Messaoud Hichem Bedjaoui Posted January 24, 2016 Share Posted January 24, 2016 Hello i think you must upgrade your ems 1- Add TIBCO_HOME in your Windows enveronement path (Add Variable TIBCO_HOME & Value C:ProgramDataTIBCO_HOME) 2- Upgrade the Tibco EMS (go to the CMD tape cd c:TIBCOTRA5.9bin) 3- in bin folder tape (traUpgradeManager.exe -path c:tibco -ems c:tibcoems8.1) 4- go to your windows services and Start the TIBCO EMS Server (PID: xxxxx) 5- Restart your TIBCO Designer and redo a test Link to comment Share on other sites More sharing options...
krishnarao potti 2 Posted March 10, 2016 Share Posted March 10, 2016 create the queue connection factory in ems server and topic connection factory in ems so then add the gloabl varibles and map the values to jms advance tab Link to comment Share on other sites More sharing options...
Mara Carretero Posted July 25, 2018 Share Posted July 25, 2018 I had this same problem, have tried this solution and have worked. Thank you! Link to comment Share on other sites More sharing options...
Siddhant Prabhu 2 Posted June 19, 2020 Share Posted June 19, 2020 Description : TheError we face mostly in BW 5.x versions where EMS is not configured with Designer and we are not able to Test EMS Connection. Solution : Copy paste all the jars from "TIBCOHomeems\lib*.jar" to "TIBCOHometpcl\lib" Now if you try to test connection from Designer you will get the errors - Queue connection factory 'QueueConnectionFactory' Connection failed - naming exception. Connection failed. Topic connection factory 'TopicConnectionFactory' Connection failed - naming exception. Connection failed. To remove this error you can then try to check if the mentioned factories are present or not. Do the following: Run TIBEMSAdmin : TIBCOHomeems\bintibemsadmin.exe and type the following command - "show factories" If output is No Factories then run the below two commands - create factory URL=tcp://. In this case it will be - create factory QueueConnectionFactory queueURL=tcp://7222 create factory TopicConnectionFactory topic URL=tcp://7222 Now restart the designer and try to run. You should be able to establish the connection. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now