Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

HttpRequest InputStream read timeout

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am getting a java.io.InterruptedIOException: Read timed out when trying to read the input stream from the HttpRequest object. This is done to get the form parameter values for content-type=multipart/form-data

This application is deployed on a Websphere Application server and working fine as a standalone application (Say Server 1). Another box (Say Server 2) is hosting a single servlet application to forward the requests to server 1. Server 2 was running fine. We have just redeployed the same EAR and now Server 1 is failing to read the input stream from Server2.

One strange thing is that a similar application as on Server 2 is running on production and staging environment by forwarding the requests to Server1, in which case Server 1 is successfully reading the input stream from the HttpRequest object.

Hope, I have not confused you a lot. There might some settings on the Websphere or in the Application or on the network that is not allowing the input stream to be read by the remote server.

Any pointers or hint will be appreciated. You can also send me an email at shaikhsn@gmail.com

Thanks & Regards,
Shakir Shaikh
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First.. can the two servers communicate with each other on the ports you have configured for WAS?

I mean do you have any firewall present. Try a simple HTML or JSP call first between the two servers.
 
reply
    Bookmark Topic Watch Topic
  • New Topic