• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Urgent... How to run a j2me App on Palm Emulator on _StandAlone_ Computer

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
i'm facing a problem whiling running a j2me App (built in WSDD) on Palm Emulator. Actually that app is trying to communicate with a servlet, that is running on same machine (i.e. making http connection). When the network is enabled, it works fine, but when network is disabled (no internet, no LAN),it doesn't.
In Palm Emulator Properties, i've checked that box i.e. "Redirect Netlib calls to TCP/IP host", also i tried different Redirect options like using
COM1 and Localhost (127.0.0.1) but still same problem. So can anyone please help me, how to run that application on _StandAlone_ computer, without any internet or LAN? This is really urgent and important, so i'll REALLY appreciate any help.
Regards,
Aamir
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
depending what you host OS you have, disabling network might mean a complete shutdown of the TCP/IP layer. You should at least enable the "local loop" in the host OS config for the emulator to access local machine's TCP/IP ports.
 
Aamir Chaudhry
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i tried that approach but it seems that it is going onto the Internet and it requires my Gateway to the Internet. Just wondering, why is it going onto the network i.e. Internet? what is it looking for on the Internet?
In short, is it necassary to have an Internet access for a j2me Client/Server application (client running on pose) to talk through Http
Connection? Are there other ways to do/simulate the same thing without Internet access?
thanks in advance for you help
Aamir
 
Michael Yuan
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Aamir Chaudhry:

In short, is it necassary to have an Internet access for a j2me Client/Server application (client running on pose) to talk through Http
Connection? Are there other ways to do/simulate the same thing without Internet access?


As I already said, you do not need internet access to run client/server applications. You need to figure out a way to do disconnect the network while NOT disabling the underlying TCP/IP service. You also need to config your host OS to route TCP/IP traffic to the local loop. Of course, your server address must be 127.0.0.1 unless you configured otherwise.
In short, this is NOT a J2ME or a POSE issue. It is a network adminstration issue for your host computer.
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is on a Win box, isn't it?
G.
 
Aamir Chaudhry
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'm using windows XP. i just found out that POSE is trying to hit this IP 206.112.114.82, which is Palm Proxy Server. so for every Http connection call, it tries to talk with Palm Proxy Server.
Is there any way that i can disable or bypass this
Proxy stuff and establish an Http connection without Palm Proxy Server? OR is there any alternative for this? OR can i simulate this Palm Proxy Server on my local machine?

Thanks in advance for your help
Aamir
 
I didn't say it. I'm just telling you what this tiny ad said.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic