Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a call from the servlet is hang where do I set a timeout ?

 
itamar lev
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem that sometimes the server side doesn't return a reply for my requests.
The whole application is stuck !
Do someone know how to solve this problem by setting properties in the WAS custom properties,
or a solution in the servlet ?
thanks,
Itamar
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no spec-compliant way to set a timeout on a request.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by itamar lev:
I have a problem that sometimes the server side doesn't return a reply for my requests.
The whole application is stuck !
Do someone know how to solve this problem by setting properties in the WAS custom properties,
or a solution in the servlet ?


Go for why, then how.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic