Recently I wanted to configure couple of things in BlackBerry simulator.  To configure the BlackBerry simulator settings typically you need to look for a file called rimpublic.property. Typically this file resides under the eclipse plug-in directory (if you use eclipse IDE for BlackBerry development) but if you have BlackBerry JDE installed it might be located under that. Anyway just search for this file and once found, do the following.

1) Enable internet connection via proxy

Under [HTTP HANDLER] section, do the following changes

[HTTP HANDLER]

.

.

.

application.handler.http.proxyEnabled = true

application.handler.http.proxyHost=your_proxy_ip_address or your_proxy_name

application.handler.http.proxyPort=your_proxy_port_number

2) Change the MDS listening port

Under [WebServer] section, do the following changes, changing sslport is not needed, anyway for consistency sake, change it

[WebServer]

.

.

.

WebServer.listen.port=new_port_number_that_is_not_already_in_use

WebServer.listen.sslport= new_port_number_that_is_not_already_in_use

 

3.Edit run.bat file:

The run.bat file is in this path – Research In Motion/Blackberry Email and MDS services Simulator 4.1.2/MDS/..

Edit this file and replace !BMDS_CLASSPATH!;!BMDS_CLASSPATH2! with %BMDS_CLASSPATH%;%BMDS_CLASSPATH2%

Also, you need to run that batch file as an administrator.