• 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

Differences in code? plz help

 
Lex Wouda
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a servlet which uses an UrlConnection object to retrieve some page.
It used to work, now it suddenly doesn�t anymore, I didn�t change te code in this particular extract.
:


however, almost identical (test)code, called from a �main� does work:


I can�t figure it out why the second piece of code does work.
all help is welcome,
TIA
Lex
 
Lex Wouda
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I forgot to mention I get an
"java.io.InterruptedIOException: Operation timed out: no further information" error message when debuging,
furthermore this exception occurs at


it used to work
 
ubutuakuzed
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lex,
I am having the SAME EXACT problem as you are... I was curious if you had solved it? I just started searching for a solution to this problem and your post is the first thing i found! Too bad nobody has responded
Thanks for any reply.
- Tom
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic