org.mule.providers.ConnectException: Failed to create Jms Connector

MuleSoft JIRA | Hassan Sajjad | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The exception stack below, is produced when a JMS Connector fails to make a connection to the JMS provider because of the missing jars in the classpath. The provider is IBM MQ. Note the error message does not provide any hint to the missing classes/jar files, rather it complains about the JNDI resource, which in fact is correct. 2006-09-19 12:13:50,909 DEBUG [main] [ExceptionHelper] doc. Url for package 'org.mule.providers.ConnectException' is: null 2006-09-19 12:13:50,909 ERROR [main] [SimpleRetryConnectionStrategy] Failed to connect/reconnect on endpoint: org.mule.providers.jms.JmsConnector@2b2af3. Root Exception was: JNDI Resource not found for name "cn=QCF,cn=hassan". Type: class org.mule.umo.lifecycle.InitialisationException org.mule.providers.ConnectException: Failed to create Jms Connector at org.mule.providers.jms.JmsConnector.doConnect(JmsConnector.java:279) at org.mule.providers.AbstractConnector.connect(AbstractConnector.java:861) at org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:43) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:70) at org.mule.providers.AbstractConnector.connect(AbstractConnector.java:854) at org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:43) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:70) at org.mule.providers.AbstractConnector.startConnector(AbstractConnector.java:314) at org.mule.MuleManager.startConnectors(MuleManager.java:794) at org.mule.MuleManager.start(MuleManager.java:753) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:194) at org.mule.MuleServer.initialize(MuleServer.java:230) at org.mule.MuleServer.run(MuleServer.java:162) at org.mule.MuleServer.start(MuleServer.java:151) at org.mule.MuleServer.main(MuleServer.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mule.tools.launcher.Launcher.run(Launcher.java:365) at org.mule.tools.launcher.Launcher.main(Launcher.java:140) Caused by: org.mule.umo.lifecycle.InitialisationException: JNDI Resource not found for name "cn=QCF,cn=hassan" at org.mule.providers.jms.JmsConnector.createConnectionFactory(JmsConnector.java:189) at org.mule.providers.jms.JmsConnector.doConnect(JmsConnector.java:272) ... 21 more 2006-09-19 12:13:50,919 INFO [main] [SimpleRetryConnectionStrategy] Waiting for 180000ms before reconnecting. Failed attempt 1 of 12

    MuleSoft JIRA | 1 decade ago | Hassan Sajjad
    org.mule.providers.ConnectException: Failed to create Jms Connector
  2. 0

    The exception stack below, is produced when a JMS Connector fails to make a connection to the JMS provider because of the missing jars in the classpath. The provider is IBM MQ. Note the error message does not provide any hint to the missing classes/jar files, rather it complains about the JNDI resource, which in fact is correct. 2006-09-19 12:13:50,909 DEBUG [main] [ExceptionHelper] doc. Url for package 'org.mule.providers.ConnectException' is: null 2006-09-19 12:13:50,909 ERROR [main] [SimpleRetryConnectionStrategy] Failed to connect/reconnect on endpoint: org.mule.providers.jms.JmsConnector@2b2af3. Root Exception was: JNDI Resource not found for name "cn=QCF,cn=hassan". Type: class org.mule.umo.lifecycle.InitialisationException org.mule.providers.ConnectException: Failed to create Jms Connector at org.mule.providers.jms.JmsConnector.doConnect(JmsConnector.java:279) at org.mule.providers.AbstractConnector.connect(AbstractConnector.java:861) at org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:43) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:70) at org.mule.providers.AbstractConnector.connect(AbstractConnector.java:854) at org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:43) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:70) at org.mule.providers.AbstractConnector.startConnector(AbstractConnector.java:314) at org.mule.MuleManager.startConnectors(MuleManager.java:794) at org.mule.MuleManager.start(MuleManager.java:753) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:194) at org.mule.MuleServer.initialize(MuleServer.java:230) at org.mule.MuleServer.run(MuleServer.java:162) at org.mule.MuleServer.start(MuleServer.java:151) at org.mule.MuleServer.main(MuleServer.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mule.tools.launcher.Launcher.run(Launcher.java:365) at org.mule.tools.launcher.Launcher.main(Launcher.java:140) Caused by: org.mule.umo.lifecycle.InitialisationException: JNDI Resource not found for name "cn=QCF,cn=hassan" at org.mule.providers.jms.JmsConnector.createConnectionFactory(JmsConnector.java:189) at org.mule.providers.jms.JmsConnector.doConnect(JmsConnector.java:272) ... 21 more 2006-09-19 12:13:50,919 INFO [main] [SimpleRetryConnectionStrategy] Waiting for 180000ms before reconnecting. Failed attempt 1 of 12

    MuleSoft JIRA | 1 decade ago | Hassan Sajjad
    org.mule.providers.ConnectException: Failed to create Jms Connector

    Root Cause Analysis

    1. org.mule.umo.lifecycle.InitialisationException

      JNDI Resource not found for name "cn=QCF,cn=hassan"

      at org.mule.providers.jms.JmsConnector.createConnectionFactory()
    2. org.mule.providers
      AbstractConnector.startConnector
      1. org.mule.providers.jms.JmsConnector.createConnectionFactory(JmsConnector.java:189)
      2. org.mule.providers.jms.JmsConnector.doConnect(JmsConnector.java:272)
      3. org.mule.providers.AbstractConnector.connect(AbstractConnector.java:861)
      4. org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:43)
      5. org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:70)
      6. org.mule.providers.AbstractConnector.connect(AbstractConnector.java:854)
      7. org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:43)
      8. org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:70)
      9. org.mule.providers.AbstractConnector.startConnector(AbstractConnector.java:314)
      9 frames
    3. Mule Core
      MuleServer.main
      1. org.mule.MuleManager.startConnectors(MuleManager.java:794)
      2. org.mule.MuleManager.start(MuleManager.java:753)
      3. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208)
      4. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:194)
      5. org.mule.MuleServer.initialize(MuleServer.java:230)
      6. org.mule.MuleServer.run(MuleServer.java:162)
      7. org.mule.MuleServer.start(MuleServer.java:151)
      8. org.mule.MuleServer.main(MuleServer.java:124)
      8 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. org.mule.tools
      Launcher.main
      1. org.mule.tools.launcher.Launcher.run(Launcher.java:365)
      2. org.mule.tools.launcher.Launcher.main(Launcher.java:140)
      2 frames