This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Getting information of writing data over socket connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Getting information of writing data over socket connection" Watch "Getting information of writing data over socket connection" New topic
Author

Getting information of writing data over socket connection

Ponnusamy Gov
Greenhorn

Joined: Feb 01, 2011
Posts: 17
Dear All,

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.

thanks,
Pons.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting information of writing data over socket connection
 
Similar Threads
clarification needed on setSoTimeout()
Jboss server is not starting within 1000 seconds
HELP : Connecting to machine in different network
ConnectException
Socket communication outside emulated app