This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes a call from the servlet is hang where do I set a timeout ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "a call from the servlet is hang where do I set a timeout ?" Watch "a call from the servlet is hang where do I set a timeout ?" New topic
Author

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

itamar lev
Greenhorn

Joined: Feb 21, 2005
Posts: 4
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

Joined: Dec 11, 2004
Posts: 13410

There is no spec-compliant way to set a timeout on a request.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: a call from the servlet is hang where do I set a timeout ?
 
jQuery in Action, 3rd edition