WindowsでrunProxyを手動で実行する

デフォルトでは、プロキシコンポーネントはエージェントを起動すると自動で開始します。プロキシを手動で起動するようにエージェントを構成している場合は、次のコマンドを使用します。
インストゥルメントされたサーバでトラフィックを実行する前に、runProxy.cmd を実行し、以下の構文を使用してプロキシを開始します。
-d オプションを選択する場合は、-j オプションの前に指定する必要があります。
Usage: runProxy.cmd [-d <proxyDir>] -j <jreDir> [logDir] [commPort]

Options:
-d <proxyDir> the directory where the proxy is installed; optional, defaults to the directory containing the runProxy.cmd script
-j <jreDir> the directory where the JRE is installed; required
logDir the directory the proxy should log to; optional, defaults to <proxyDir>\logs
[commPort] port used for the proxy control channel on Windows; defaults to 10101; if specified it must match the proxyCommPort setting in the require statement
次の例では、コマンドがエージェントによりインストゥルメントされた Node.js アプリケーションの root から実行されることを前提としています。
.\node_modules\appdynamics\node_modules\appdynamics-proxy\proxy\runProxy.cmd
-j .\node_modules\appdynamics\node_modules\appdynamics-jre\jre /var/log/proxy
.\node_modules\appdynamics\node_modules\appdynamics-proxy\proxy\logs
10101