I am using Apache HTTP Client to send request to a servlet. When my servlet is deployed under Apache Tomcat - everything is ok, but when I use Oracle IAS (OC4J) I get 503 error ("Service is temporary unavailable").
I use the following code:
The strangest thing is that if I'll remove this line:
... the request will pass to servlet, no 503 error. I've tried to re-write this code using standart Java HttpUrlConnection instead of Apache HTTP Client and everything worked fine.