sometime you need to redirect the MDS simulator access not directly to the Internet,

the redirection is via HTTP Proxy (for example Squid).

here’s how to configure..

  • Open theĀ rimpublic.property file. The rimpublic.property file can be found in the following locations:For BlackBerry MDS-CS Simulators installed with BlackBerry Java Plug-in for Eclipse

    \Eclipse\plugins\net.rim.ejde.componentpack#.#.#_#.#.#.##\components\MDS\config

    For BlackBerry MDS-CS Simulators installed with BlackBerry JDE

    \Program Files\Research In Motion\BlackBerry JDE #.#.#\MDS\config

    For standalone BlackBerry MDS-CS Simulators

    \Program Files\Research In Motion\BlackBerry Email and MDS Services Simulators #.#.#\MDS\config

  • Under the [HTTP HANDLER] section, update the following:application.handler.http.proxyEnabled = true

    application.handler.http.proxyHost=hostname

    application.handler.http.proxyPort=hostport

  • To include proxy authentication, update the following under the [HTTP HANDLER] section:application.handler.http.proxyUser=username

    application.handler.http.proxyPass=password

  • To include proxy auto configuration parameters, update the following values:application.handler.http.proxyAutoConfig = true

    application.handler.http.proxyAutoConfigURL=http://URL_to_Your_Config_File

    application.handler.http.proxyAutoConfig.ScriptCacheTime=0

    For the last listed parameter, change 0 to the amount of time you want the BlacKBerry MDS-CS Simulator to cache your config file.

  • [1] http://supportforums.blackberry.com/t5/Testing-and-Deployment/Configure-the-BlackBerry-MDS-Simulator-to-work-behind-a-proxy/ta-p/446115