Getting information of writing data over socket connection
posted 4 years ago
I am having java application which is running in multiple Solaris servers and application connects another server using socket connection. I am having connection timeout value as 10 seconds. Most of the connections got success and communication also happened within 50 milliseconds.
consider that my server name is A. client server name is B.
My problem here is, some of the requests not received by B within the connection timed out time. but request is later (after 40 seconds)received by B and processed but no use of that response since my server A disconnected that communication because of server A connection timed out happened.
Is this due to network problem or Java thread problem or issue in server A end or issue in server B end. How to find out the issue and where this problem occurs? solutions to this problem is highly appreciated.... please help me out.