×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    2

    s40 http api conectivity fails with linux server


    My midlet can't make a http connection to a linux server when using the S40 SDK platform. It works fine with WTK 2.5.2 platform.
    I had the same experience with The Fruit machine Example.
    Case 1) the servlet is deployed on Glassfish V2 running in my Windows Vista Box => the example worked fine using either s40 SDK platform or WTK platform.
    Case 2) The servlet is now deployed on Glassfish V2 running in my linux Ubuntu box => The example does not work using s40 SDK platform. But it still works fine using WTP platform

    In both cases, I use Netbeans 6.5 IDE

    In case 2) when I test incomming TCP connection using ngrep, I don't see any incoming data from the s40 emulator, even though the disgnostic frame shows that the emulator has sent a request to the server. This request just never hit the linux server. But it always hit the Windows Vista server.

    Anyone has an idea ?

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    2

    Re: s40 http api conectivity fails with linux server


    My diagnostic was wrong.
    I can actually make a http connection to http://127.0.0.1 (localhost). When the server is on the localhost (case 1) the example works
    Now my Vista box has a 2nd address : ex: 192.168.136.1. Then the s40 can't establish the http connection to this new address.
    WTK still works fine of course

  3. #3
    Registered User
    Join Date
    Feb 2009
    Posts
    1

    Re: s40 http api conectivity fails with linux server

    Same issue. But somehow fronting Glassfish with Apache Web server seemed to solve the problem.

    Not sure if reading on port or allowing mime types is the issue.

    For me too, the code worked on emulator and all S60 platform phones.

Similar Threads

  1. Nokia S40 series- Http data reading Exception
    By pollux.java in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2008-06-25, 09:33
  2. SyncML HTTP Keep Alive session Nokia S40 devices
    By starchyme1 in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2008-05-21, 17:34
  3. Mobile learning server / environment published
    By mikaset in forum News and Announcements
    Replies: 0
    Last Post: 2008-03-25, 20:50
  4. Replies: 1
    Last Post: 2008-02-20, 11:05
  5. HTTP proxy server connection to browser
    By k.sandeep in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-03-15, 12:22

Posting Permissions

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