BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-01-2008, 04:06 PM   #1
jeyaprakash.c
Thumbs Must Hurt
 
Join Date: Oct 2007
Location: chennai.india
Model: 8100
PIN: N/A
Carrier: airtel
Posts: 57
Arrow Java.IO.IoException :MAX connections

Please Login to Remove!

Am trying to open several http connections to a server one after another . After opening and closing around 30 connections , my application throws the above error and refuses to make any further connections. Interestingly though, after switching my radio off for a few seconds and then turning it back on, Everything works fine again for another 30 connections. it seems whatever i do to kill the connections programatically( myconnection.close(), myconnection=null etc) simply fails.

please help
__________________
thanx n regards
jeyaprakash.c
Offline  
Old 07-02-2008, 06:54 AM   #2
irlennard
Knows Where the Search Button Is
 
irlennard's Avatar
 
Join Date: Jan 2008
Location: Berlin
Model: 9000
Carrier: T-Mobile
Posts: 32
Default

Do you open any input/output streams from your connections? You need to call close() on these too otherwise I don't think the connection will be properly closed.

-- Ian
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


NEW SEALED AB 1747-L541 /C SLC 500 SLC 5/04 CPU PROCESSOR UNIT MODULE US picture

NEW SEALED AB 1747-L541 /C SLC 500 SLC 5/04 CPU PROCESSOR UNIT MODULE US

$310.93



AB 1747-L542 /B SLC 500 5/04 CPU PROCESSOR UNIT New Factory Sealed AB 1747L542 picture

AB 1747-L542 /B SLC 500 5/04 CPU PROCESSOR UNIT New Factory Sealed AB 1747L542

$334.57



Raspberry Pi Pico Microcontroller Development Board RP2040 dual-core processor picture

Raspberry Pi Pico Microcontroller Development Board RP2040 dual-core processor

$6.49



The Writer by Keyboard Instructor Word Processor Typing Trainer + Case *Working* picture

The Writer by Keyboard Instructor Word Processor Typing Trainer + Case *Working*

$30.00



Allen Bradley 1747-L542 SER C SLC 500 5/04 CPU PROCESSOR UNIT AB 1747L542 picture

Allen Bradley 1747-L542 SER C SLC 500 5/04 CPU PROCESSOR UNIT AB 1747L542

$306.80



Barber Colman Siebe Network 8000 LCMA-110 CPU 8K PCB picture

Barber Colman Siebe Network 8000 LCMA-110 CPU 8K PCB

$99.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.