org.mule.providers.ConnectException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Hassan Sajjad,
  • 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
    via by Hassan Sajjad,
    • 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
    No Bugmate found.