Hi Priya,

Please refer to [1] for the APIM 2.1.0 clustering deployment. The one you
are referring to is an older version.

Please note that in 2.1.0 distributed setup, the gateway nodes try to
connect to the broker running in traffic manager nodes via amqp to get
throttling messages. When tit cannot connect you get this error.

Please check the port in which the broker is running in the traffic manager
nodes.


[1]
https://docs.wso2.com/display/AM210/Distributed+Deployment+of+API+Manager

On Tue, Dec 5, 2017 at 10:32 PM, Dilusha Alphonso <dilu...@wso2.com> wrote:

> Hi Piriya
>
> You can refer this mail thread 'Exception while start the Gateway node'. I
> also got the same problem while starting the gateway node.
>
> Thanks
> Dilusha
>
> On Wed, Dec 6, 2017 at 9:59 AM, Piriya Sivalingam <pir...@wso2.com> wrote:
>
>> Hi,
>>
>> I am trying to configure a cluster setup for API Manager. I followed the
>> document [1] to setup the cluster. But when I start the nodes I noticed
>> some errors logged in the console.
>> The error is:
>> [2017-12-06 09:39:29,791]  INFO - AMQConnection Unable to connect to
>> broker at tcp://localhost:5673
>> org.wso2.andes.transport.TransportException: Could not open connection
>> at org.wso2.andes.transport.network.mina.MinaNetworkTransport$I
>> oConnectorCreator.connect(MinaNetworkTransport.java:216)
>> at org.wso2.andes.transport.network.mina.MinaNetworkTransport.
>> connect(MinaNetworkTransport.java:74)
>> at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerCo
>> nnection(AMQConnectionDelegate_8_0.java:130)
>> at org.wso2.andes.client.AMQConnection$2.run(AMQConnection.java:631)
>> at org.wso2.andes.client.AMQConnection$2.run(AMQConnection.java:628)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQ
>> Connection.java:628)
>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:409)
>> at org.wso2.andes.client.AMQConnectionFactory.createConnection(
>> AMQConnectionFactory.java:351)
>> at org.wso2.andes.client.AMQConnectionFactory.createConnection(
>> AMQConnectionFactory.java:40)
>> at org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils.createCon
>> nection(JMSUtils.java:387)
>> at org.wso2.carbon.apimgt.jms.listener.utils.JMSListener.checkJ
>> MSConnection(JMSListener.java:137)
>> at org.wso2.carbon.apimgt.jms.listener.utils.JMSListener.start(
>> JMSListener.java:79)
>> at org.wso2.carbon.apimgt.jms.listener.utils.JMSListener.run(
>> JMSListener.java:186)
>> at java.lang.Thread.run(Thread.java:748)
>> org.wso2.andes.AMQConnectionFailureException: Could not open connection
>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:486)
>> at org.wso2.andes.client.AMQConnectionFactory.createConnection(
>> AMQConnectionFactory.java:351)
>> at org.wso2.andes.client.AMQConnectionFactory.createConnection(
>> AMQConnectionFactory.java:40)
>> at org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils.createCon
>> nection(JMSUtils.java:387)
>> at org.wso2.carbon.apimgt.jms.listener.utils.JMSListener.checkJ
>> MSConnection(JMSListener.java:137)
>> at org.wso2.carbon.apimgt.jms.listener.utils.JMSListener.start(
>> JMSListener.java:79)
>> at org.wso2.carbon.apimgt.jms.listener.utils.JMSListener.run(
>> JMSListener.java:186)
>> at java.lang.Thread.run(Thread.java:748)
>>
>> [1] https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager
>>
>> Could you please let me know how to overcome this issue?
>>
>> Thank you
>> Piriya
>>
>> --
>> Regards,
>>
>> *Piriya Sivalingam*
>>
>> *Software Engineer - Support Team*
>>
>> *WSO2*
>> *Mobile : +94 77 8462039 <+94%2077%20846%202039>*
>>
>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> <http://wso2.com/signature>*
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Gayan Dhanuska
Senior Software Engineer
http://wso2.com/
Lean Enterprise Middleware

Mobile - LK- 071 666 2327
Mobile USA - 612-244-4873


Office
Tel   : 94 11 214 5345
Fax  : 94 11 214 5300
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to