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

2010-03-16 Thread Pid
On 16/03/2010 02:01, Song Thuy Nguyen wrote: The thing is, I'm using the failover behaviour in Apache Synapse (Enterprise Service Bus). I can give Synapse a list of web service endpoints that have the same interface. One is the primary service endpoint and the others are the backups in case

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

2010-03-15 Thread Song Thuy Nguyen
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

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

2010-03-15 Thread Len Popp
I don't think you can do that. After Tomcat accepts the HTTP connection and decides whether to respond, it's too late to pretend there's no server there. The user's web browser displays a different error message for no server (something like can't establish a connection) vs. server timeout

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

2010-03-15 Thread David Kerber
Len Popp wrote: I don't think you can do that. After Tomcat accepts the HTTP connection and decides whether to respond, it's too late to pretend there's no server there. The user's web browser displays a different error message for no server (something like can't establish a connection) vs.

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

2010-03-15 Thread Song Thuy Nguyen
The thing is, I'm using the failover behaviour in Apache Synapse (Enterprise Service Bus). I can give Synapse a list of web service endpoints that have the same interface. One is the primary service endpoint and the others are the backups in case the primary endpoint become unavailable for some