I have been having problem with TIMED_WAITING locked threads.
Found out few actions that resulted to TIMED_WAITING locked threads.
When a request is directed to the https host with out the basepath and resource of the API. (https://sampleHOST instead of https://sampleHOST/gateway/api_name/v1/resource.) The request just keeps on loading with no display or response at all. and looking at the thread dump, this creates a TIMED_WAITING locked thread.
When a request is directed to an API with a wrong basepath or an API that does not exist. (e.g. https://sampleHOST/gateway/basepassth/v1/resource instead of https://sampleHOST/gateway/basepath/v1/resource and https://sampleHOST/gateway/NoneExistentAPI/v1/resource). This type of request just keeps on loading with no display or response and it uses a thread that results to TIMED_WAITING.
I was wondering if any of this two could help with this problem.
Their current config is 0, which mean no timeout