java - http request timeout WebSphere Application Server -


i using websphere application server 8.5.5.3. maximum number of web container threads set 100. there multiple applications installed on server. @ times 1 of application slows down , hangs web container threads. results in requests other applications getting piled waiting web container threads. there property can timeout waiting requests?

i not want timeout request, if request processing has started. there long running requests , should not timeout. please suggest.

try use async servlet, below long running requests:

@webservlet(asyncsupported = true, urlpatterns = { "/asyncservlet" }) public class asyncservlet extends httpservlet { ... } 

asynchronous servlet in websphere application server return thread web container pool, can used handle other requests.

for more information how develop async servlet check chapter 5 in websphere application server liberty profile guide developers. although related liberty profile same code can used in normal websphere application server.

for information how configure asynchronous processing in web container check web container settings


Comments