2

Has anybody got the BB simulator and MDS simulator to work?

I have the MDS installed and 4 BB phone sim's. For some reason, when I first install the BB sim it might work and then it will stop working.

Has anybody had this issue and know how to fix it?

Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
Rodrigo
  • 163
  • 2
  • 9
  • Do you get any errors in the console running the MDS simulator? – Ben S Sep 21 '09 at 17:38
  • Also, can you define "it will stop working" – Ben S Sep 21 '09 at 17:42
  • I don't see any errors. As for "stop working". I will be using a sim and browsing a site and i will see the mds scroll. Then I will click on a link and the request times out and i don't see any action on mds. – Rodrigo Sep 22 '09 at 13:43

3 Answers3

3

The first time I used both, BlackBerry JDE 6.0.0 and its version of MDS-CS, it worked very well. After a couple of simulator reloads to test a Browser-Push application, the 9800 simulator stopped connecting with the Mobile Device Service Simulator. All rules are important, but in my case, rule #3 allowed me to connect the simulator's internet browser after deactivating the WiFi connection

  1. MDS should be running before you start the simulator; and it listens on port 8080, so make sure nothing else is listening on that port before you start it.

  2. The simulator seems to pick up the MDS location from the rimpublic.property file (under MDS/config), which is part of the MDS install, and rimpublic.property needs to have the machine's fully qualified host name in it, not localhost.

  3. If you've started your simulator without the MDS running, you will need to remove the .dmp files in [installroot]/[phonemodel]. This problem often happens with BlackBerry JDE version 6.0.0.

These rules seem to have work for me so far.

Nate
  • 31,017
  • 13
  • 83
  • 207
Michael
  • 76
  • 2
  • Also, apparently, port 8443 which had been taken up by VisualSVN on my machine. I stopped the service, restarted the MDS + simulator, and it worked. – Ken Pespisa Oct 14 '09 at 18:30
1

Well, there are several common mistakes when using MDS simulator with BlackBerry Simulator.

  1. If you're opening network http connections you need to add "deviceside=false" parameter to your urls
  2. In case you're behind proxy, you have to add several configuration parameters to enable MDS Simulator check them out here
nixau
  • 1,095
  • 1
  • 14
  • 27
1

I just spent 2 days trying various of the tips online about MDS (and there are many) but none helped me.

For me, the solution was to turn off network registration upon simulator launch in eclipse.

Edit: this has helped in some situations, but MDS still not always stable.

(posted in case someone with my problem googles to this page)

Richard Le Mesurier
  • 29,432
  • 22
  • 140
  • 255