Results 1 to 2 of 2
  1. #1
    rajeshgubba is offline Member
    Join Date
    Apr 2008
    Rep Power

    Default How to resolve TCP exception

    Hi all,

    Can anybody help me how to resolve the below problem?

    I am trying to read xml file from a link
    as shown below,
    HttpConnection conn = (HttpConnection);
    InputStream InputStream = conn.openInputStream();

    At this line i am getting exception on WTK emulator, TCP open
    at )
    at )
    at )
    at 57)
    at 2)
    at )
    (+8) at MidletPackage.KXmlLinkParser.Parse(+48)
    at MidletPackage.KXmlLinkParser$

    I am using eclipseMe and WTK for emulator.
    Can i read anything from any website using J2ME?
    Are there any settings in WTK to connect to any website from emulator?

    Or if there are security problems when conecting the site, then how to overcome them?

    Please help me?

  2. #2
    arnab321 is offline Member
    Join Date
    Oct 2008
    Rep Power


    Your firewall is blocking internet connection for wtk. Just disable firewall and it should work.

Similar Threads

  1. javax.bluetooth
    By ahtiven in forum New To Java
    Replies: 3
    Last Post: 01-13-2009, 03:54 PM
  2. Replies: 2
    Last Post: 05-05-2008, 07:01 AM
  3. Replies: 3
    Last Post: 04-07-2008, 06:56 PM
  4. Cannot Resolve Symbol error...
    By seral1969 in forum New To Java
    Replies: 4
    Last Post: 02-18-2008, 01:17 AM
  5. map javax.swing.text.Element to javax.swing.text.View
    By elizabeth in forum New To Java
    Replies: 1
    Last Post: 07-30-2007, 08:02 PM

Posting Permissions

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