We are using java socket connection to connect other server for business purpose for almost one decade. Application is running on Websphere Application server. Recently we have implemented Ajax call using DWR and calling socket connection method to read the response. Problem is we are able to read the response with in the connection time out period but after connection time out period, read timed out error written in log for that same request(request integrity is maintained using unique id). Sample code,
connection time out period is 10 sec.
Please let me know the reason for this error. Is anything I need to handle in Socket connection when it is executed from Ajax DWR request?