Say for instance datasources saved to the gov registry. But then we need to
have customized version of datasource components to save and read from gov
registry.
IMO we can have an entry in AF database as same as Databases story and use
that to read. So remote call will only occur when some one creates a
datasource. WDYT?

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

On Thu, Feb 12, 2015 at 9:02 AM, Amalka Subasinghe <[email protected]> wrote:

>
> Hi,
>
> The error specified in the Jira [1] has occurred while reading datasources
> from App Servers.
>
> I got AF logs from AF M6 installed production environment and when
> analyzing, following error message was found. It seems like the error has
> occurred due to app servers was being busy while reading datasources.
>
> TID: [0] [AF] [2015-02-10 00:00:18,572]  INFO
> {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
> url[
> https://appserver.dev.cloud.wso2.com/services/AppFactoryNDataSourceAdmin]
> {org.apache.axis2.transport.http.HTTPSender}
> java.net.SocketTimeoutException: Read timed out
>
>  How to fix this?
>
> - Reduce the number of times we do remote calls to load datasources.
> Already done in M7.
> - Eliminate the remote calls to the datasources. Can be down with two
> ways.
>          1 - By storing datasoruces in governance registry - [2]
>          2 - By storing in AF database
>
> [1] https://wso2.org/jira/browse/APPFAC-2681
> [2] https://wso2.org/jira/browse/WSAS-1895
>
> Thanks
> Amalka
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to