Apologies. I mistook as the configuration mentioned was for ESB. Went
through a few mailing threads on the same, and this seems to be an
incompatibility issue among Hazelcast and Tribes in synapse and axis2.


Thanks,

Maheeka Jayasuriya
Software Engineer
Mobile : +94777750661

On Tue, Mar 3, 2015 at 5:12 PM, Harsha Kumara <hars...@wso2.com> wrote:

> It seems there is a incompatibility issue when ESB moved from Tribes
> clustering to Hazelcast clustering on executing this sample in ESB 4.8.0
> upwords. According to [1] and [2] discussions it worked fine with ESB
> 4.7.0.
>
> Issue suggest, address can't be assign. May be you can keep 127.0.0.1
> without changing it to your machine IP and try.
>
> [1] -
> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-WSO2-WSB-Sample-57-Dynamic-load-balancing-between-3-nodes-Missing-LoadBalanceEventHandler-td89942.html
> [2] -
> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html
>
> On Tue, Mar 3, 2015 at 4:58 PM, Milan Perera <mi...@wso2.com> wrote:
>
>> Hi Maheeka,
>>
>> ​I have also checked my configuration file in ESB and as you mentioned,
>> it uses Hazelcast clustering. But when I check the axis sample server which
>> comes under ESB samples, it has Tribes as the clustering agent. However
>> without changing clustering type to Hazelcast in axis2.xml, I was able to
>> up and run the sample axis server.
>>
>> For the educational purpose, then I changed it to Hazelcast clustering as
>> you mentioned, I got the following error.
>>
>> INFO: [127.0.0.1]:4000 [apache.axis2.application.domain]
>> Address[127.0.0.1]:4000 is STARTED
>> 15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Hazelcast
>> initialized in 7136ms
>> 15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Local member:
>> [8f395038-748e-4e91-a26a-e692792b32d3] - Host:127.0.0.1, Remote Host:null,
>> Port: 4000, HTTP:9000, HTTPS:9002, Domain: apache.axis2.application.domain,
>> Sub-domain:null, Active:true
>> 15/03/03 15:47:59 FATAL util.SampleAxis2ServerManager: [SimpleAxisServer]
>> Shutting down. Error starting SimpleAxisServer
>> java.lang.*NullPointerException*
>>         at
>> org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:229)
>>         at
>> samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)
>>         at
>> samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)
>>         at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)
>>
>>
>> --
>> Milan Harindu Perera
>> Software Engineer
>> *WSO2, Inc*
>> (+94) 77 309 7088
>> lean . enterprise . middleware
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to