• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Oracle IAS (OC4J) problem

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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.

What am I doing wrong?

Big thanks for any help, hints, advices!
 
Alexey Kalmykov
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I've found the solution.

The problem was with this:



... and Oracle Web-Cache. Don't use chunked content with Web-Cache.
 
I will open the floodgates of his own worst nightmare! All in a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic