×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    Http connection problem in 6310i

    Hi.

    I am trying to connect from my miplet application to my own server using http. The phone and the emulator both refuses to connect but emulators in Sun's Forte for Java works.

    The emulator gives following errors: (I have removed the real ip addresses)

    Nokia 6310i MIDP SDK v1.0: getPortNumber string='8081' port=8081
    Nokia 6310i MIDP SDK v1.0: getHostName string='//xxx.xxx.xxx.xxx:8081' name='xxx.xxx.xxx.xxx'
    Nokia 6310i MIDP SDK v1.0: socket:pen0 name='//xxx.xxx.xxx.xxx' name2='xxx.xxx.xxx.xxx' port=8081
    Nokia 6310i MIDP SDK v1.0: Exception: java/lang/ClassNotFoundException
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openPrim(+159)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openInternal(+9)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.connect(+55)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.openInputStream(+64)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.doSend(+151)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.run(+99)
    Nokia 6310i MIDP SDK v1.0: Exception: java/lang/ClassNotFoundException
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openPrim(+101)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openInternal(+20)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.connect(+55)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.openInputStream(+64)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.doSend(+151)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.run(+99)
    Nokia 6310i MIDP SDK v1.0: socket:pen0 name='//xxx.xxx.xxx.xxx' name2='xxx.xxx.xxx.xxx' port=8081 fd = -1 exception = 'javax/microedition/io/ConnectionNotFoundException' ne=0
    Nokia 6310i MIDP SDK v1.0: Exception: javax/microedition/io/ConnectionNotFoundException
    Nokia 6310i MIDP SDK v1.0: at com.sun.cldc.io.j2me.socket.Protocol.openPrim(+7)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openPrim(+214)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openInternal(+31)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.connect(+55)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.openInputStream(+64)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.doSend(+151)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.run(+99)
    Nokia 6310i MIDP SDK v1.0: Exception: java/lang/ClassNotFoundException
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openPrim(+159)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openInternal(+9)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.connect(+55)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol$PrivateOutputStream.flush(+17)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol$PrivateOutputStream.close(+4)
    Nokia 6310i MIDP SDK v1.0: at java.io.DataOutputStream.close(+7)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.doSend(+363)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.run(+99)
    Nokia 6310i MIDP SDK v1.0: Exception: java/lang/ClassNotFoundException
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openPrim(+101)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openInternal(+20)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.connect(+55)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol$PrivateOutputStream.flush(+17)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol$PrivateOutputStream.close(+4)
    Nokia 6310i MIDP SDK v1.0: at java.io.DataOutputStream.close(+7)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.doSend(+363)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.run(+99)
    Nokia 6310i MIDP SDK v1.0: getPortNumber string='8081' port=8081
    Nokia 6310i MIDP SDK v1.0: getHostName string='//xxx.xxx.xxx.xxx:8081' name='xxx.xxx.xxx.xxx'
    Nokia 6310i MIDP SDK v1.0: socket:pen0 name='//xxx.xxx.xxx.xxx' name2='xxx.xxx.xxx.xxx' port=8081
    Nokia 6310i MIDP SDK v1.0: socket:pen0 name='//xxx.xxx.xxx.xxx' name2='xxx.xxx.xxx.xxx' port=8081 fd = -1 exception = 'javax/microedition/io/ConnectionNotFoundException' ne=0
    Nokia 6310i MIDP SDK v1.0: Exception: javax/microedition/io/ConnectionNotFoundException
    Nokia 6310i MIDP SDK v1.0: at com.sun.cldc.io.j2me.socket.Protocol.openPrim(+7)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openPrim(+214)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.InternalConnector.openInternal(+31)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol.connect(+55)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol$PrivateOutputStream.flush(+17)
    Nokia 6310i MIDP SDK v1.0: at com.sun.midp.io.j2me.http.Protocol$PrivateOutputStream.close(+4)
    Nokia 6310i MIDP SDK v1.0: at java.io.DataOutputStream.close(+7)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.doSend(+363)
    Nokia 6310i MIDP SDK v1.0: at HttpPoster.run(+99)

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    72

    RE: Http connection problem in 6310i

    could you post your code ?

Posting Permissions

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