Hi,
i've tested to change the DeploymentUpdateInterval in a test environment to 86400, so one day. But the line 
"User Store Configuration Deployer initiated." still appears more than once a day. I think the unloading may be the problem, like Omindu said. What happens if the tenant was unloaded and the first request starts the redeployment and during that a second request comes in? Could that lead to this error?
How long is the idle time before unloading and can it be configured?
It's kind of hard to test cause the redeployment takes less than a second.
 
Regards,
regAW
Gesendet: Dienstag, 28. März 2017 um 21:13 Uhr
Von: "Omindu Rathnaweera" <omi...@wso2.com>
An: "KasunG Gajasinghe" <kas...@wso2.com>
Cc: re...@gmx-topmail.de, DEV <dev@wso2.org>
Betreff: Re: [Dev] API Calls fail while UserStoreConfigurationDeployer is running
@KasunG The deployers can run during tenant loading, correct? Say the tenant got unloaded after the idle time, the next request to that tenant's resource will re deploy the tenant's user stores, services etc. In that case, will changing deployment update interval be effective ? 
 
Regards,
Omindu
 
On Tue, Mar 28, 2017 at 4:06 PM, KasunG Gajasinghe <kas...@wso2.com> wrote:
 
You can reduce the deployment update interval via carbon.xml. By default, it is 15mins. Search for DeploymentUpdateInterval. You can increase this.
 
That being said, the deployers won't be called unless you modify userstore.  
 
On Mon, Mar 27, 2017 at 2:32 PM, <re...@gmx-topmail.de> wrote:
Hi,
i have a problem with my WSO2-am. The UserStoreConfigurationDeployer is running up to 20 times per day. During that time alle request to the api return a 500 http error. The backend is not called.
I created a question on stackoverflow ( http://stackoverflow.com/questions/42859483/the-service-cannot-be-found-for-the-endpoint-reference-while-user-store-configur ) but no answers so far. 
Can someone have a look at this or at least can confirm that it will not happen under 2.1?
 
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
--
Kasun Gajasinghe
Associate Technical Lead, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
phone: +1 650-745-4499, 77 678 0813 
 

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
--
Omindu Rathnaweera
Senior Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to