Hi Sajith,

I think you are on the wrong direction. @Nirmal: Still SLB does not support
hazelcast clustering.

Consider SLB as a standard load balancer which does not know anything about
Carbon clustering. We just need to do a static load balancer configuration
and try to simulate how WSO2 products will behave in Stratos.

Thanks

On Fri, Feb 13, 2015 at 11:39 AM, Nirmal Fernando <[email protected]> wrote:

>
>
> On Fri, Feb 13, 2015 at 11:36 AM, Nirmal Fernando <[email protected]> wrote:
>
>> This is the static configuration, where you don't use dynamic member
>> discovery. You need group_mgt_port for dynamic member discovery. Please use
>> the ELB config,
>>
> I meant the attributes applicable for cluster sections.
>
>> it should work in SLB.
>>
>> On Fri, Feb 13, 2015 at 11:29 AM, Sajith Abeywardhana <[email protected]>
>> wrote:
>>
>>> Yes. In the axis2.xml file, we do have configuration as
>>>
>>> *<clustering
>>> class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"*
>>> *                enable="true">*
>>>
>>> But in Stratos load balancer configuration file dose not have
>>> group_mgt_port.
>>>
>>>     # services {
>>>     #     app-server {  # service name, a unique identifier to identify
>>> a service
>>>     #         multi-tenant: true; # Set to true if the service is
>>> multi-tenant
>>>     #         clusters {
>>>     #             app-server-cluster1 {  # cluster id, a unique
>>> identifier to identify a cluster
>>>     #                 hosts: cluster1.appserver.foo.org, cluster1.org;
>>>  # comma separated hostname list
>>>     #                 tenant-range: 1-100; # Tenant range of the cluster
>>>     #                 algorithm: round-robin;  # algorithm name
>>>     #                 members {
>>>     #                     m1 {  # member id, a unique identifier to
>>> identify a member
>>>     #                         ip: 10.0.0.10; # member ip address
>>>     #                         ports {
>>>     #                             http {
>>>     #                                 value: 8080; # application port
>>>     #                                 proxy: 80;   # proxy port exposed
>>> by load balancer transport, set this value in axis2.xml
>>>     #                             }
>>>     #                             https {
>>>     #                                 value: 8090;
>>>     #                                 proxy: 443;
>>>     #                             }
>>>     #                         }
>>>     #                     }
>>>     #                     m2 {
>>>     #                         ip: 10.0.0.11;
>>>     #                         ports {
>>>     #                             http {
>>>     #                                 value: 8080;
>>>     #                                 proxy: 80;
>>>     #                             }
>>>     #                             https {
>>>     #                                 value: 8090;
>>>     #                                 proxy: 443;
>>>     #                             }
>>>     #                         }
>>>     #                     }
>>>     #                 }
>>>     #             }
>>>     #         }
>>>     #     }
>>>     # }
>>>
>>>
>>> *Sajith Abeywardhana* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>> Mobile: +94772260485
>>> Email: [email protected] <[email protected]> | Web: www.wso2.com
>>>
>>> On Fri, Feb 13, 2015 at 10:44 AM, Nirmal Fernando <[email protected]>
>>> wrote:
>>>
>>>> SLB is using Hazelcast right? If so, group_mgt_port should be used in
>>>> lb conf.
>>>>
>>>> On Fri, Feb 13, 2015 at 10:14 AM, Sajith Abeywardhana <[email protected]
>>>> > wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> Thanks for the reply. I set the configuration as *topology-event-listener:
>>>>> false; *
>>>>> Then I got below exception while starting the load balancer.
>>>>>
>>>>> Hi Nirmal,
>>>>>
>>>>> In WOS2 ELB configuration file, there is a configuration as 
>>>>> *group_mgt_port
>>>>> 4500; *[1] How can I map this configuration in the Stratos load
>>>>> balancer?
>>>>>
>>>>> [1].
>>>>> https://docs.wso2.com/display/CLUSTER420/Configuring+the+Load+Balancer
>>>>>
>>>>>
>>>>> [2015-02-13 09:57:41,504] FATAL - LoadBalancerServiceComponent Failed
>>>>> to activate load balancer service component
>>>>> org.apache.stratos.load.balancer.exception.InvalidConfigurationException:
>>>>> Could not read load balancer configuration:
>>>>> /Users/apple/D/pass/apache-stratos-load-balancer-4.1.0-SNAPSHOT/repository/conf/loadbalancer.conf
>>>>> at
>>>>> org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.readFromFile(LoadBalancerConfiguration.java:286)
>>>>> at
>>>>> org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration.getInstance(LoadBalancerConfiguration.java:87)
>>>>> at
>>>>> org.apache.stratos.load.balancer.internal.LoadBalancerServiceComponent.activate(LoadBalancerServiceComponent.java:118)
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>> at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>>>> at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>> at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>> at
>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>> at
>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>> at
>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>> at
>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>> at
>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>> at
>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>> at
>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>> at
>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>> at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>> at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>> at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>> at
>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950)
>>>>> at
>>>>> org.apache.stratos.common.internal.StratosCommonServiceComponent.registerDistributedObjectProviderService(StratosCommonServiceComponent.java:121)
>>>>> at
>>>>> org.apache.stratos.common.internal.StratosCommonServiceComponent.access$100(StratosCommonServiceComponent.java:55)
>>>>> at
>>>>> org.apache.stratos.common.internal.StratosCommonServiceComponent$1.run(StratosCommonServiceComponent.java:89)
>>>>> Caused by: java.lang.RuntimeException: services node was not found
>>>>> at
>>>>> org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.validateRequiredNode(LoadBalancerConfiguration.java:539)
>>>>> at
>>>>> org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.transform(LoadBalancerConfiguration.java:433)
>>>>> at
>>>>> org.apache.stratos.load.balancer.conf.LoadBalancerConfiguration$LoadBalancerConfigurationReader.readFromFile(LoadBalancerConfiguration.java:283)
>>>>> ... 27 more
>>>>>
>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>>> Mobile: +94772260485
>>>>> Email: [email protected] <[email protected]> | Web: www.wso2.com
>>>>>
>>>>> On Thu, Feb 12, 2015 at 10:39 PM, Imesh Gunaratne <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Sajith,
>>>>>>
>>>>>> Stratos load balancer has a configuration file in repository/conf
>>>>>> folder: loadbalancer.conf. If you open it in a text editor you will find
>>>>>> inline comments describing each property:
>>>>>>
>>>>>> # Enable/disable topology event listener
>>>>>> # If this property is set to true, load balancer will listen to
>>>>>> topology events and build
>>>>>> # the topology configuration accordingly. If not static configuration
>>>>>> given in the services
>>>>>> # section will be used.
>>>>>> topology-event-listener: true;
>>>>>>
>>>>>> You may need to set the above property to false if you need to run
>>>>>> the load balancer with a static configuration.
>>>>>>
>>>>>> On Thu, Feb 12, 2015 at 9:49 PM, Sajith Abeywardhana <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I'm getting this exception while starting the 
>>>>>>> *apache-stratos-load-balancer-4.1.0.
>>>>>>> *Please can anybody tell me why this happens? And how to solve this?
>>>>>>> Note -: *apache-activemq-5.10.0 is running..*
>>>>>>>
>>>>>>>
>>>>>>> [2015-02-12 21:42:34,100] ERROR - AmqpTopicConnector Could not
>>>>>>> connect to message broker
>>>>>>> javax.jms.JMSException: Error creating connection: Could not open
>>>>>>> connection
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>>> Caused by: org.wso2.andes.AMQConnectionFailureException: Could not
>>>>>>> open connection
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>>>>>> ... 7 more
>>>>>>> Caused by: org.wso2.andes.transport.TransportException: Could not
>>>>>>> open connection
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>>>>>> ... 8 more
>>>>>>> [2015-02-12 21:42:34,101] ERROR - AmqpTopicConnector Could not
>>>>>>> connect to message broker
>>>>>>> javax.jms.JMSException: Error creating connection: Could not open
>>>>>>> connection
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>>> Caused by: org.wso2.andes.AMQConnectionFailureException: Could not
>>>>>>> open connection
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>>>>>> ... 7 more
>>>>>>> Caused by: org.wso2.andes.transport.TransportException: Could not
>>>>>>> open connection
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>>>>>> ... 8 more
>>>>>>> [2015-02-12 21:42:34,104] ERROR - EventSubscriber Error while
>>>>>>> subscribing to topic: tenant.>
>>>>>>> org.apache.stratos.messaging.domain.exception.MessagingException:
>>>>>>> Could not connect to message broker
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:75)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>>> Caused by: javax.jms.JMSException: Error creating connection: Could
>>>>>>> not open connection
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
>>>>>>> ... 5 more
>>>>>>> Caused by: org.wso2.andes.AMQConnectionFailureException: Could not
>>>>>>> open connection
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>>>>>> ... 7 more
>>>>>>> Caused by: org.wso2.andes.transport.TransportException: Could not
>>>>>>> open connection
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>>>>>> ... 8 more
>>>>>>> [2015-02-12 21:42:34,105]  INFO - EventSubscriber Will try to
>>>>>>> subscribe again in 30 sec
>>>>>>> [2015-02-12 21:42:34,100] ERROR - AmqpTopicConnector Could not
>>>>>>> connect to message broker
>>>>>>> javax.jms.JMSException: Error creating connection: Could not open
>>>>>>> connection
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>>> Caused by: org.wso2.andes.AMQConnectionFailureException: Could not
>>>>>>> open connection
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>>>>>> ... 7 more
>>>>>>> Caused by: org.wso2.andes.transport.TransportException: Could not
>>>>>>> open connection
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>>>>>> ... 8 more
>>>>>>> [2015-02-12 21:42:34,106] ERROR - EventSubscriber Error while
>>>>>>> subscribing to topic: application.signup.>
>>>>>>> org.apache.stratos.messaging.domain.exception.MessagingException:
>>>>>>> Could not connect to message broker
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:75)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>>> Caused by: javax.jms.JMSException: Error creating connection: Could
>>>>>>> not open connection
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
>>>>>>> ... 5 more
>>>>>>> Caused by: org.wso2.andes.AMQConnectionFailureException: Could not
>>>>>>> open connection
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>>>>>> ... 7 more
>>>>>>> Caused by: org.wso2.andes.transport.TransportException: Could not
>>>>>>> open connection
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>>>>>> ... 8 more
>>>>>>> [2015-02-12 21:42:34,107]  INFO - EventSubscriber Will try to
>>>>>>> subscribe again in 30 sec
>>>>>>> [2015-02-12 21:42:34,104] ERROR - AmqpTopicConnector Could not
>>>>>>> connect to message broker
>>>>>>> javax.jms.JMSException: Error creating connection: Could not open
>>>>>>> connection
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>>> Caused by: org.wso2.andes.AMQConnectionFailureException: Could not
>>>>>>> open connection
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>>>>>> ... 7 more
>>>>>>> Caused by: org.wso2.andes.transport.TransportException: Could not
>>>>>>> open connection
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>>>>>> ... 8 more
>>>>>>> [2015-02-12 21:42:34,102] ERROR - EventSubscriber Error while
>>>>>>> subscribing to topic: topology.>
>>>>>>> org.apache.stratos.messaging.domain.exception.MessagingException:
>>>>>>> Could not connect to message broker
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:75)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>>> Caused by: javax.jms.JMSException: Error creating connection: Could
>>>>>>> not open connection
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
>>>>>>> ... 5 more
>>>>>>> Caused by: org.wso2.andes.AMQConnectionFailureException: Could not
>>>>>>> open connection
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>>>>>> ... 7 more
>>>>>>> Caused by: org.wso2.andes.transport.TransportException: Could not
>>>>>>> open connection
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>>>>>> ... 8 more
>>>>>>> [2015-02-12 21:42:34,109]  INFO - EventSubscriber Will try to
>>>>>>> subscribe again in 30 sec
>>>>>>> [2015-02-12 21:42:34,108] ERROR - EventSubscriber Error while
>>>>>>> subscribing to topic: domain.mapping.>
>>>>>>> org.apache.stratos.messaging.domain.exception.MessagingException:
>>>>>>> Could not connect to message broker
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:75)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.doSubscribe(EventSubscriber.java:58)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.subscribe.EventSubscriber.run(EventSubscriber.java:73)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>>> Caused by: javax.jms.JMSException: Error creating connection: Could
>>>>>>> not open connection
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createTopicConnection(AMQConnectionFactory.java:429)
>>>>>>> at
>>>>>>> org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector.connect(AmqpTopicConnector.java:70)
>>>>>>> ... 5 more
>>>>>>> Caused by: org.wso2.andes.AMQConnectionFailureException: Could not
>>>>>>> open connection
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:475)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315)
>>>>>>> ... 7 more
>>>>>>> Caused by: org.wso2.andes.transport.TransportException: Could not
>>>>>>> open connection
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201)
>>>>>>> at
>>>>>>> org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110)
>>>>>>> at
>>>>>>> org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
>>>>>>> at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
>>>>>>> ... 8 more
>>>>>>> [2015-02-12 21:42:34,110]  INFO - EventSubscriber Will try to
>>>>>>> subscribe again in 30 sec
>>>>>>>
>>>>>>>
>>>>>>> *Sajith Abeywardhana* | Software Engineer
>>>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>>>>> Mobile: +94772260485
>>>>>>> Email: [email protected] <[email protected]> | Web: www.wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Imesh Gunaratne*
>>>>>> Technical Lead
>>>>>> WSO2 Inc: http://wso2.com
>>>>>> T: +94 11 214 5345 M: +94 77 374 2057
>>>>>> W: http://imesh.gunaratne.org
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks & regards,
>>>> Nirmal
>>>>
>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>> Mobile: +94715779733
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
*Imesh Gunaratne*
Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to