users  

How to surpress The requested resource XYZ is not available - response

Song Thuy Nguyen
Mon, 15 Mar 2010 16:27:11 -0700

Hello,

 

usually you will get a "The requested resource /XYZ is not available" response 
when you call an unavailable web service on Apache Tomcat. However, for a 
special use case I don't want Tomcat to answer to  requests for a 
unknown/unavailable web service. I just want Tomcat to ignore it and "keep 
quiet", resulting that the caller will get a timeout and therefore knows that 
there is no service behind this URL. How can I achieve such behaviour?

 

Best Regards,

 

 

Song Thuy Nguyen