Please try with IPs. There can be issues with hostnames
On Thu, May 22, 2014 at 12:03 PM, Ramith Jayasinghe <[email protected]> wrote: > Well... I used host names! I could try with IP too. > > > > > On Fri, May 23, 2014 at 12:27 AM, Afkham Azeez <[email protected]> wrote: > >> Are you using host names instead of IP addresses? Hazelcast has this well >> known issue where host names cause weird failures. You need to use IP >> addresses. >> >> >> On Thu, May 22, 2014 at 11:48 PM, Ramith Jayasinghe <[email protected]>wrote: >> >>> I see this when member joins: >>> >>> Exception in thread "hz.wso2.af.domain.cached.thread-2" >>> java.lang.NullPointerException >>> at >>> org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent$GroupMembershipListener.memberAdded(HazelcastGroupManagementAgent.java:192) >>> at >>> com.hazelcast.cluster.ClusterServiceImpl.dispatchEvent(ClusterServiceImpl.java:970) >>> >>> at >>> com.hazelcast.cluster.ClusterServiceImpl.dispatchEvent(ClusterServiceImpl.java:46) >>> at >>> com.hazelcast.spi.impl.EventServiceImpl$LocalEventDispatcher.run(EventServiceImpl.java:500) >>> at >>> com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:130) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) >>> at java.lang.Thread.run(Thread.java:662) >>> at >>> com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59) >>> [2014-05-22 23:35:40,369] INFO - MemberUtils Added member: >>> Host:10.100.0.82, Remote Host:null, Port: 4010, HTTP:9763, HTTPS:9443, >>> Domain: wso2.af.domain, Sub-domain:__$default, Active:true >>> [2014-05-22 23:35:40,369] INFO - HazelcastGroupManagementAgent >>> Application member Host:10.100.0.82, Remote Host:null, Port: 4010, >>> HTTP:9763, HTTPS:9443, Domain: wso2.af.domain, Sub-domain:__$default, >>> Active:true joined application cluster >>> >>> >>> >>> >>> On Thu, May 22, 2014 at 11:25 PM, Ramith Jayasinghe <[email protected]>wrote: >>> >>>> shall we have a look tomorrow? >>>> this is easily reproducible. ( may be im missing something here?) >>>> >>>> >>>> >>>> On Thu, May 22, 2014 at 10:53 PM, Afkham Azeez <[email protected]> wrote: >>>> >>>>> >>>>> On Thu, May 22, 2014 at 10:41 PM, Ramith Jayasinghe >>>>> <[email protected]>wrote: >>>>> >>>>>> WKABasedMembershipScheme.java:152) >>>>>> >>>>> >>>>> from the code, it looks like hazelcastMember.getInetSocketAddress() >>>>> becomes null!! How could that happen? >>>>> >>>>> >>>>> -- >>>>> *Afkham Azeez* >>>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>>> Member; Apache Software Foundation; http://www.apache.org/ >>>>> * <http://www.apache.org/>* >>>>> *email: **[email protected]* <[email protected]> >>>>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: * >>>>> *http://blog.afkham.org* <http://blog.afkham.org> >>>>> *twitter: >>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez >>>>> <http://lk.linkedin.com/in/afkhamazeez>* >>>>> >>>>> *Lean . Enterprise . Middleware* >>>>> >>>> >>>> >>>> >>>> -- >>>> Ramith Jayasinghe >>>> Technical Lead >>>> WSO2 Inc., http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> E: [email protected] >>>> P: +94 776715671 >>>> >>>> >>> >>> >>> -- >>> Ramith Jayasinghe >>> Technical Lead >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> E: [email protected] >>> P: +94 776715671 >>> >>> >> >> >> -- >> *Afkham Azeez* >> Director of Architecture; WSO2, Inc.; http://wso2.com >> Member; Apache Software Foundation; http://www.apache.org/ >> * <http://www.apache.org/>* >> *email: **[email protected]* <[email protected]> >> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: * >> *http://blog.afkham.org* <http://blog.afkham.org> >> *twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >> * linked-in: **http://lk.linkedin.com/in/afkhamazeez >> <http://lk.linkedin.com/in/afkhamazeez>* >> >> *Lean . Enterprise . Middleware* >> > > > > -- > Ramith Jayasinghe > Technical Lead > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > E: [email protected] > P: +94 776715671 > > -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
