Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

setConnectTimeout() Doesn't Work in Sun Java System App Server 8.2  RSS feed

Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a code that sends a request through HTTP using HttpURLConnection. Roughly, the code is as follows.

I tested it in a normal Java console program and it was working fine. I tested it again inside a servlet using Tomcat and it was also fine. But when I tested in a servlet using Sun Java System Application Server, it didn't work. I reckon there must be some configuration that I need to set in Sun Java Application Server, but I just don't know where. I've been googling it for few days with no answer Do you guys have any idea about this?

Thanks in advance.
[ July 04, 2007: Message edited by: Freddy Wong ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!