Running MPX Cache Agent As a Console Application

CacheAgentApp.exe can be used instead of the service application. Use it when multiple MPX Cache Agents operate on the same machine against different StarTeam Server configurations.

For this scenario, each MPX Cache Agent uses a different request port and different local cache paths.

When running the CacheAgentApp.exe, you can use the following syntax:

CacheAgentApp [ -c configFile ] [ -l logFile ] [ -v off | on ]
Parameter Description
-c configFile

Starts the MPX Cache Agent as a console application, optionally with a specific configuration file. The default configuration file is RootCAConfig.xml or RemoteCAConfig.xml, depending on the type of the MPX Cache Agent.

-l logFile

Specifies a log file name other than the default, which is CacheAgentApp.log.

-v

Add more detail to the log. The settings are off or on. Off is the default.

Log File

When MPX Cache Agent runs, it creates a log file in its installation folder. The default file name for the log is CacheAgentService.locale.log where locale is something like en-US.

If a file with that name already exists, it is renamed to include a time stamp: CacheAgentService_YYYYMMDDhhmmss.location.log

Its log can be viewed from a browser by entering a URL using the following syntax:

http://host:port/log
host
Identifies the computer on which the MPX Cache Agent is running.
port
Provides its configured port number. The default port is 5202.