Pages

Sunday, April 4, 2010

BlackBerry MDS Simulator

Configuring the BlackBerry MDS Simulator simulator
The default values for the BlackBerry® MDS Simulator parameters are appropriate in most cases; however, you can change parameters to set the following features:

* logging
* HTTP support
* HTTPS support
* push support
* email-to-PIN mappings.

In a production environment, the BlackBerry® Enterprise Server system administrator sets the BlackBerry MDS Connection Service parameters using the BlackBerry device management software. Contact your system administrator for more information.

Configure BlackBerry MDS Simulator properties

  1. In a text editor, open the rimpublic.property file from the Program Files\Research In Motion\BlackBerry Email and MDS Services Simulators 4.1.2\MDS\config\ folder.
  2. Configure the file settings as necessary.
  3. Restart the BlackBerry® MDS Simulator.

BlackBerry MDS Simulator logging properties
Property Description Default

Logging.file.
log.level

Specify the type of information to record, if you enable logging:

  • 1 — logs information about events only, such as connection service start or stop
  • 2 — logs events and errors
  • 3 — logs events, errors, and warnings
  • 4 — logs events, errors, warnings and debug messages

4


Logging.console.
log.level

Specify the type of information that appears in the console, if you enable logging. See the description for the Logging.level property.

4


application.
handler.
http.logging

Set to TRUE or FALSE to enable or disable HTTP standard logging (HTTP headers only).

FALSE


application.handler.
http.
logging.verbose

Set to TRUE or FALSE to enable or disable HTTP debug logging (HTTP data as well as headers). Set this parameter to TRUE only when necessary to debug a specific problem.

FALSE


BlackBerry MDS Simulator HTTP properties
Property Description Default

Logging.file.log.
levelapplication.handler.
http.CookieSupport

To enable the connection service to store cookies on behalf of the BlackBerry® device, set this property to TRUE. To store cookies on the BlackBerry device, set this property to FALSE.

TRUE


application.handler.
http.
AuthenticationSupport

Set to TRUE or FALSE to enable or disable storage of user authentication information.

TRUE


application.handler.
http.
AuthenticationTimeout

If HTTP authentication is set to TRUE, specify the length of time (in milliseconds) before the authentication information becomes invalid. This timer resets whenever the user requests authentication information for a particular domain.

3600000


application.handler.
http.device.
connection.timeout

Specify the length of time (in milliseconds) before a BlackBerry device connection attempt expires.

140000


application.handler.
http.server.
connection.timeout

Specify the length of time (in milliseconds) before a server connection attempt expires.

150000

http.proxyHost

This is the HTTP proxy host name.

n/a

http.proxyPort

This is the HTTP proxy port number. This is also used by Sun implementations of HTTP URL connections.

n/a

1 comment: