Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

InterruptedIOException: Read timed out  RSS feed

 
Rama Raghavan
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a client that opens a URL connection to a servlet and sends data in post stream. The client uses writeObject to serialize an object into the post stream. Client invokes the servlet over and over again, for 2000 records of data, sequentially.
Looks like the servlet fails at random when reading data from the post stream.
Servlet failed with Exception
java.io.InterruptedIOException: Read timed out
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
Any help is appreciated..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!