1 Reply Latest reply on Mar 18, 2016 7:44 PM by Justin Bertram

    HQ214016: Failed to create netty connection

    Mahesh Sattur Newbie

      Hello Everyone,

       

       

      We are using JBOss EAP 6.2. An application is posting messages on the message Queue. Mulesoft Messaging system on cloud is trying to read messages from JBoss JMS Queue.

       

      We are getting this error on Mulesoft side. Can you please let us know how to fix it. Below is the error trace from Mulesoft. We are not facing this issue when Mulesoft is not on cloud. Can you let us know if we need to do some additional configurations on JBoss for cloud based applications.

       

      14:08:54.820     03/16/2016     Worker-0     qtp1130063151-31     ERROR

      HQ214016: Failed to create netty connection

      java.net.UnknownHostException: dcamdm4901

        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

        at java.net.Socket.connect(Socket.java:589)

        at org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink.connect(OioClientSocketPipelineSink.java:109)

        at org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink.eventSunk(OioClientSocketPipelineSink.java:69)

        at org.jboss.netty.channel.Channels.connect(Channels.java:634)

        at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:207)

        at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:229)

        at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:182)

        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:624)

        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1223)

        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1069)

        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:246)

        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:839)

        at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:583)

        at org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection(HornetQConnectionFactory.java:119)

        at org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection(HornetQConnectionFactory.java:114)

        at org.mule.transport.jms.Jms102bSupport.createConnection(Jms102bSupport.java:78)

        at org.mule.transport.jms.JmsConnector.createConnection(JmsConnector.java:441)

        at org.mule.transport.jms.JmsConnector.doConnect(JmsConnector.java:537)

        at org.mule.transport.AbstractConnector$5.doWork(AbstractConnector.java:1603)

        at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:63)

        at org.mule.transport.AbstractConnector.connect(AbstractConnector.java:1668)

        at org.mule.transport.jms.JmsConnector.connect(JmsConnector.java:466)

        at org.mule.transport.AbstractConnector.start(AbstractConnector.java:443)

        at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237)

        at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91)

        at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67)

        at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140)

        at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111)

        at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88)

        at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141)

        at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)

        at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)

        at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)

        at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)

        at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294)

        at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134)

        at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98)

        at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129)

        at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93)

        at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26)

        at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:310)

        at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:330)

        at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:155)

        at org.mule.module.launcher.MuleDeploymentService.deploy(MuleDeploymentService.java:192)

        at com.mulesoft.mmc.agent.service.impl.ApplicationServiceImpl.deploy(ApplicationServiceImpl.java:302)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.springframework.ao... [truncated]

      14:08:55.895     03/16/2016     Worker-0     qtp1130063151-31     ERROR

      Failed to connect/reconnect: JmsConnector

      {

        name=JMS

        lifecycle=initialise

        this=ee90fdc

        numberOfConcurrentTransactedReceivers=4

        createMultipleTransactedReceivers=true

        connected=false

        supportedProtocols=[jms]

        serviceOverrides=<none>

      }

      . Root Exception was: HQ119007: Cannot connect to server(s). Tried with all available servers.. Type: class org.hornetq.api.core.HornetQNotConnectedException

      14:08:57.943     03/16/2016     Worker-0     qtp1130063151-31     ERROR