Forum Discussion

rakiranpendl's avatar
rakiranpendl
New Contributor
2 years ago

JMS Connection Error : Could not establish a JMS connection: javax.naming.NameNotFoundException:

I am trying to connect to TIBCO server I have provided the JAR files in LIB folder of ReadyAPi and EXt folder as well.

I have entered the InitialContextFactory, URL and ConnectionFactory name

getting the following error:

   Could not establish a JMS connection: javax.naming.NameNotFoundException:     Name not found: 'com.tibco.tibjms.TibjmsConnectionFactory'  

can anyone please point out where I am going wrong.

 

Thanks

  • nmrao's avatar
    nmrao
    Champion Level 3

    Can you please try copying hermes.jar from Hermes installation to ReadyAPI/lib folder (have backup of original file before doing so).

    • rakiranpendl's avatar
      rakiranpendl
      New Contributor

      According to what i have read Hermes is not supported in Ready Api.

    • rakiranpendl's avatar
      rakiranpendl
      New Contributor

      Hey SarahS ,

       

      Thank you for the quick response.

      Yes i have used ghe above class name under the initial context class name. I ahve also placed 

      Jms_2.0.jar, tibjms.jar and tibcrupt.jar files in the lib folder and created a plugin as well.

       

      But even after that i am getting the same error.

      I have also given the additional jndi property required for the tibco conect, credentials and principal property.