• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic