×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    21

    Question Connection error occured while login in IM midlet client

    I am running j2me IM sample code. i am login into it using gmail user account, but it shows the following error.
    i took sample code from :http://code.google.com/p/gtmobile/source/browse/

    it shows error line:

    connection = (SecureConnection)Connector.open("ssl://talk.google.com:5223");

    Error:
    Error occured whilst opening connection
    java.io.IOException: Error occured whilst opening connection
    at com.sun.midp.io.j2me.ssl.Protocol.openPrim(+374)
    at com.sun.midp.io.InternalConnector.openPrim(+157)
    at com.sun.midp.io.InternalConnector.open(+9)
    at javax.microedition.io.Connector.open(+6)
    at javax.microedition.io.Connector.open(+6)
    at javax.microedition.io.Connector.open(+5)
    at com.javaeedev.midp.gtalk.jabber.JabberService$ConnectingThread.run(JabberService.java:178)
    connectionError: Error occured whilst opening connection
    "Series 40 5th Edition SDK, Feature Pack 1 Lite" Connection Terminated

    How to solve this problem

    thanks,

  2. #2
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,098

    Re: Connection error occured while login in IM midlet client

    Hello, nandhagasc

    Did your sources compile ok and did you install the MIDlet on device and test it there?

    If compiled, and test on device, pls let me know what device and the result.

    Also, you could e-mail me your jad and jar of this and I can do some testing.

    Thanks!



    Best Regards
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

Similar Threads

  1. j2se server j2me client bluetooth connection problem
    By bepolat in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2010-07-14, 11:05
  2. J2me MIDlet to Servlet HttpPost connection Exception java.io.EOFException
    By sumanbera in forum Mobile Java Tools & SDKs
    Replies: 5
    Last Post: 2008-01-11, 12:29
  3. how to activate midlet using socket connection in emulator
    By Basu in forum Mobile Java General
    Replies: 1
    Last Post: 2007-11-07, 16:52
  4. 2SSL connection with client authentication
    By b.saric in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-02-26, 21:13
  5. TCP Client MIDlet on Nokia 9210
    By k_bommaraju in forum Mobile Java General
    Replies: 0
    Last Post: 2002-07-17, 10:41

Posting Permissions

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