×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    20

    Nokia Series 60 MIDP Concept SDK Beta 0.2: java.io.IOException: exceeded the configur

    Hi..

    I got the following error message when trying to connect
    with HttpConnection with NS60 MIDP1 Emulator.

    Nokia Series 60 MIDP Concept SDK Beta 0.2: java.io.IOException: exceeded the configured maximum number of connections

    Is there any suggestion?
    It appears when I called Connector.open for a several times.
    However, I close it once before I open again every time. i.e.,
    calling

    conn.close();

    before

    conn = (HttpConnection) Connector.open (url);

    or I have to do anything else too?

    Thank you in advance.

    Voravit H.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    Close the connection, and all the streams (input and/or output), set them to null, and maybe even call the garbage collector so they get cleaned up. Then open the new connection.

    shmoove

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×