Mule ESBスタートアップ設定
Mule ESB に をロードするには、Java エージェント JAR の場所を JVM 引数として Mule に渡します。
Mule ESB 3.X 以降では、Tanuki 構成環境を使用します。ご使用の Mule ESB 環境で JVM 引数を指定するには、下で説明するように、Tanuki Java Service Wrapper 構成ファイル、wrapper.conf への追加のパラメータとして構成する必要があります。
Configuring the Tanuki Service Wrapper
- Open the Java Service Wrapper configuration file:
<MULE_HOME>/conf/wrapper.conf - Find the location indicated for Java Additional Parameters:
# Java Additional Parameters wrapper.java.additional.1= - Add the path to the Java Agent JAR file as a JVM argument using a
wrapper.java.additional.nparameter, as follows:
Where "n" is the next available integer among thewrapper.java.additional.n="-javaagent:/path_to_appagent/javaagent.jar" wrapper.java.additional.n.stripquotes=TRUEwrapper.java.additionalparameters already in thewrapper.conffile, if any. The numbers serve to identify each Java Additional Parameter in the file. Do not skip numbers when adding the property. Replacepath_to_appagentto the path to thejavaagent.jarfile in your system. Thestripquotesparameter is necessary only if there are spaces in the path or filename, but is safe to include if not.For example, on a Linux system and with seven Java parameters already in the file, add the following properties:wrapper.java.additional.8="-javaagent:/opt/AppDynamics/Agent/app_agent/javaagent.jar" wrapper.java.additional.8.stripquotes=TRUE注: There may be additionalwrapper.java.additionalproperties defined in other Mule files. These are generated by the system. As indicated by comments preceding these properties, you should not make changes directly to the properties. Mule automatically auto-increments the index number for these properties based on the highest integer number used inwrapper.conf, so you do not need to modify or otherwise account for the index numbers of auto-generated configuration properties.注: If you are using the following processors, End User Monitoring (EUM) might not work as expected. This happens because Mule interferes with the Splunk AppDynamics headers.<custom-processor class="com.mulesoft.gateway.extension.ProxyRequestHeadersProcessor" /> <custom-processor class="com.mulesoft.gateway.extension.ProxyResponseHeadersProcessor" />