Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrency problems with ServiceClient #5

Open
ukarim opened this issue May 30, 2023 · 0 comments
Open

Concurrency problems with ServiceClient #5

ukarim opened this issue May 30, 2023 · 0 comments

Comments

@ukarim
Copy link

ukarim commented May 30, 2023

ServiceClient from axis2 is not thread-safe, and current implementation of GetSoap uses one global instance of ServiceClient.
This could lead to unpredictable behaviour if GetSoap processor will be scheduled with "Concurrent tasks" greater than 1.

For example, in my case Im getting org.apache.axis2.AxisFault: Attempted read on closed stream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant