[Dev] WSO2 AS Cluster issue

2014-09-10 Thread Godwin Amila Shrimal
Hi,

I am configuring AS cluster with WSO2 ELB. Once completed the configuration
and send an request to management node it gives a error as
TenantAwareLoadBalanceEndpoint
No application members available in ELB.

What can be the issue for this ? I saw few jira also there for this and
couldn't find the solution.


This is the sample I am following,
http://madhukaudantha.blogspot.com/2013/12/wso2-application-server-clustering.html


Godwin
Thanks

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 AS Cluster issue

2014-09-10 Thread Danushka Fernando
Goodwin
This error means you haven't configured the setup correctly. When you start
up the server (AS) do you see any logs saying that AS joined to the
cluster? I guess there should be some error there.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Wed, Sep 10, 2014 at 2:09 PM, Godwin Amila Shrimal 
wrote:

> Hi,
>
> I am configuring AS cluster with WSO2 ELB. Once completed the
> configuration and send an request to management node it gives a error as  
> TenantAwareLoadBalanceEndpoint
> No application members available in ELB.
>
> What can be the issue for this ? I saw few jira also there for this and
> couldn't find the solution.
>
>
> This is the sample I am following,
>
> http://madhukaudantha.blogspot.com/2013/12/wso2-application-server-clustering.html
>
>
> Godwin
> Thanks
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 AS Cluster issue

2014-09-10 Thread Kasun Gajasinghe
Hi,


On Wed, Sep 10, 2014 at 10:49 AM, Danushka Fernando 
wrote:

> Goodwin
> This error means you haven't configured the setup correctly. When you
> start up the server (AS) do you see any logs saying that AS joined to the
> cluster? I guess there should be some error there.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
>
> On Wed, Sep 10, 2014 at 2:09 PM, Godwin Amila Shrimal 
> wrote:
>
>> Hi,
>>
>> I am configuring AS cluster with WSO2 ELB. Once completed the
>> configuration and send an request to management node it gives a error as  
>> TenantAwareLoadBalanceEndpoint
>> No application members available in ELB.
>>
>> What can be the issue for this ? I saw few jira also there for this and
>> couldn't find the solution.
>>
>>
>> This is the sample I am following,
>>
>> http://madhukaudantha.blogspot.com/2013/12/wso2-application-server-clustering.html
>>
>>
This doesn't look correct. The group_mgt_port in ELB should be different
from its localMemberPort value. Try changing the localMemberPort of ELB to
something other than 4000, say, 4100.

And, why are you not following the Cluster 4.2.0 guide??

KasunG


>
>> Godwin
>> Thanks
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D *
>> twitter: https://twitter.com/godwinamila
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 AS Cluster issue

2014-09-10 Thread Godwin Amila Shrimal
Hi Dhanusha,

I checked the logs and there is no errors. I can see logs which are related
to cluster as follows.

TID: [0] [AS] [2014-09-10 14:41:47,493]  INFO
{org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
  : 9765 {org.wso2.carbon.core.transports.http.HttpTransportListener}

TID: [0] [AS] [2014-09-10 14:41:47,500]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
Cluster domain: wso2.as.domain
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}

TID: [0] [AS] [2014-09-10 14:41:47,500]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
Using wka based membership management scheme
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}

TID: [0] [AS] [2014-09-10 14:41:47,501]  INFO
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -  Added
member: Host:127.0.0.1, Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1,
Domain: null, Sub-domain:null, Active:true
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils}

TID: [0] [AS] [2014-09-10 14:41:48,718]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
Hazelcast initialized in 1214ms
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}

TID: [0] [AS] [2014-09-10 14:41:48,768]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
Local member: [ef9e66b4-8f73-47ce-9828-a04ee59375be] - Host:127.0.0.1,
Remote Host:null, Port: 4251, HTTP:9765, HTTPS:9445, Domain:
wso2.as.domain, Sub-domain:worker, Active:true
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}

TID: [0] [AS] [2014-09-10 14:41:48,775]  INFO
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -  Added
member: Host:127.0.0.1, Remote Host:null, Port: 4251, HTTP:9765,
HTTPS:9445, Domain: wso2.as.domain, Sub-domain:worker, Active:true
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils}

TID: [0] [AS] [2014-09-10 14:41:48,867]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
Cluster initialization completed
{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}

TID: [0] [AS] [2014-09-10 14:41:48,869]  INFO
{org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared selector for
servlet write/read {org.apache.tomcat.util.net.NioSelectorPool}

TID: [0] [AS] [2014-09-10 14:41:48,986]  INFO
{org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared selector for
servlet write/read {org.apache.tomcat.util.net.NioSelectorPool}

TID: [0] [AS] [2014-09-10 14:41:49,034]  INFO
{org.wso2.carbon.ntask.core.service.impl.TaskServiceImpl} -  Task service
starting in CLUSTERED mode...
{org.wso2.carbon.ntask.core.service.impl.TaskServiceImpl}

TID: [0] [AS] [2014-09-10 14:41:49,099]  INFO
{org.wso2.carbon.core.init.JMXServerManager} -  JMX Service URL  :
service:jmx:rmi://localhost:3/jndi/rmi://localhost:10001/jmxrmi
{org.wso2.carbon.core.init.JMXServerManager}

TID: [0] [AS] [2014-09-10 14:41:49,100]  INFO
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
  :  Application Server-5.2.1
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}

TID: [0] [AS] [2014-09-10 14:41:49,100]  INFO
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
Carbon started in 19 sec
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}

TID: [0] [AS] [2014-09-10 14:41:49,255]  INFO
{org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
: https://10.100.5.170:9445/carbon/
{org.wso2.carbon.ui.internal.CarbonUIServiceComponent}

On Wed, Sep 10, 2014 at 2:19 PM, Danushka Fernando 
wrote:

> Goodwin
> This error means you haven't configured the setup correctly. When you
> start up the server (AS) do you see any logs saying that AS joined to the
> cluster? I guess there should be some error there.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
>
> On Wed, Sep 10, 2014 at 2:09 PM, Godwin Amila Shrimal 
> wrote:
>
>> Hi,
>>
>> I am configuring AS cluster with WSO2 ELB. Once completed the
>> configuration and send an request to management node it gives a error as  
>> TenantAwareLoadBalanceEndpoint
>> No application members available in ELB.
>>
>> What can be the issue for this ? I saw few jira also there for this and
>> couldn't find the solution.
>>
>>
>> This is the sample I am following,
>>
>> http://madhukaudantha.blogspot.com/2013/12/wso2-application-server-clustering.html
>>
>>
>> Godwin
>> Thanks
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D *
>> twitter: https://twitter.com/godwinamila
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Godwin A

Re: [Dev] WSO2 AS Cluster issue

2014-09-10 Thread Godwin Amila Shrimal
Hi Kasun,

I made the change u proposed but still not working, BTW I'll look @ Cluster
4.2.0 guide.


Thanks
Godwin


On Wed, Sep 10, 2014 at 2:44 PM, Kasun Gajasinghe  wrote:

> Hi,
>
>
> On Wed, Sep 10, 2014 at 10:49 AM, Danushka Fernando 
> wrote:
>
>> Goodwin
>> This error means you haven't configured the setup correctly. When you
>> start up the server (AS) do you see any logs saying that AS joined to the
>> cluster? I guess there should be some error there.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Wed, Sep 10, 2014 at 2:09 PM, Godwin Amila Shrimal 
>> wrote:
>>
>>> Hi,
>>>
>>> I am configuring AS cluster with WSO2 ELB. Once completed the
>>> configuration and send an request to management node it gives a error as  
>>> TenantAwareLoadBalanceEndpoint
>>> No application members available in ELB.
>>>
>>> What can be the issue for this ? I saw few jira also there for this and
>>> couldn't find the solution.
>>>
>>>
>>> This is the sample I am following,
>>>
>>> http://madhukaudantha.blogspot.com/2013/12/wso2-application-server-clustering.html
>>>
>>>
> This doesn't look correct. The group_mgt_port in ELB should be different
> from its localMemberPort value. Try changing the localMemberPort of ELB to
> something other than 4000, say, 4100.
>
> And, why are you not following the Cluster 4.2.0 guide??
>
> KasunG
>
>
>>
>>> Godwin
>>> Thanks
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *http://lnkd.in/KUum6D *
>>> twitter: https://twitter.com/godwinamila
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev