Hi All,

I noticed the $subject while testing LB for Private PaaS. Any tenant
created and subscribed before restart of LB cannot be access and getting
404 error *"Active application instances not found"*. This works fine if
existing session found in request (Such as Admin console requests [1]) and
any request pass through via *requestDelegator.findNextMemberFromHostName().
*I noticed cluster is getting null when calling
LoadBalancerContext.getInstance().getMultiTenantClusterMap().getCluster(hostName,
tenantId) in findNextMemberFromTenantId(). It seems multiTenantClusterMap
not get updated after LB restart. Can we use Complete topology to update
this? what is the best way this fix this?


Thanks,
Melan


[1]
TID: [0] [LB] [2014-05-09 11:29:43,645] DEBUG
{org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
-  Existing session found: JSESSIONID=A5E345AEA80006C03F60775E83531DA4
TID: [0] [LB] [2014-05-09 11:29:43,645] DEBUG
{org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
-  Updating axis2 member port
TID: [0] [LB] [2014-05-09 11:29:43,646] DEBUG
{org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
-  Outgoing request port found: 9443
TID: [0] [LB] [2014-05-09 11:29:43,646] DEBUG
{org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
-  Sending request to endpoint:
https://10.144.0.231:9443/t/my.org/carbon/service-mgt/index.jsp?region=region1&item=services_list_menu


-- 
*Melan Nimesh*
Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: melan AT wso2.com;
Mobile: +94 77 631 6759




-- 
*Melan Nimesh*
Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: melan AT wso2.com;
Mobile: +94 77 631 6759
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to