Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Mobility > ZimbraME (J2ME Client)

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-11-2008, 12:12 PM
New Member
 
Posts: 3
Default How to resolve javax.microedition.io.ConnectionNotFoundException: TCP exception

Hi all,

Can anybody help me how to resolve the below problem?

I am trying to read xml file from an URL
as shown below,
HttpConnection conn = (HttpConnection)Connector.open(Url);
InputStream InputStream = conn.openInputStream();

At this line i am getting exception on WTK emulator,

javax.microedition.io.ConnectionNotFoundException: TCP open
at com.sun.midp.io.j2me.socket.Protocol.connect(+99)
at com.sun.midp.io.ConnectionBaseAdapter.openPrim(+52 )
at com.sun.midp.io.j2me.socket.Protocol.openPrim(+108 )
at com.sun.midp.io.ConnectionBaseAdapter.openPrim(+14 )
at com.sun.midp.io.ConnectionBaseAdapter.openPrim(+8)
at com.sun.midp.io.j2me.http.Protocol.connect(+73)
at com.sun.midp.io.j2me.http.Protocol.streamConnect(+ 57)
at com.sun.midp.io.j2me.http.Protocol.startRequest(+1 2)
at com.sun.midp.io.j2me.http.Protocol.sendRequest(+38 )
at com.sun.midp.io.j2me.http.Protocol.sendRequest(+6)
at com.sun.midp.io.j2me.http.Protocol.getResponseCode
(+8) at MidletPackage.KXmlLinkParser.Parse(+48)
at MidletPackage.KXmlLinkParser$1.run(+7)

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?
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0