Application server - Tomcat - Alfresco sample instrumentation

If you have a default setup, the entire instrumentation process takes seconds.

Add the configuration string to the end of JAVA_OPTS in the <ALFRESCO_HOME>\alfresco.bat file. See the example below. This is not a copy/paste example, but only a fragment with a sample configuration string.

set JAVA_OPTS=%JAVA_OPTS% -XX:CompileCommand=exclude, ... -agentpath:"C:\Program Files\dynaTrace\dynaTrace <version>\agent\lib\dtagent.dll"=name=Alfresco_Monitoring,server=servername:9998

To perform the configuration:

Open the Application Environment Configuration dialog box.


JavaScript Agent is injected automatically to HTML code of your website, so you don't have to perform additional configuration for the web application UEM, this is enabled by default. Make sure your license has some UEM volume for this to work.

Select the application type as Web / Java / .NET.

In the Application Servers step, click Add. The Configure Application Servers dialog box appears.

From the Application Server list, select Apache Tomcat 5+, and set its name as Alfresco.

Select the machine, where the Alfresco is installed, and its environment.

Add the configuration string from the dialog box to the end of the set JAVA_OPTS=%JAVA_OPTS% ... -agentpath... in the <ALFRESCO_HOME>\alfresco.bat file.

Restart Alfresco to connect to the AppMon.

Close the summary dialog box.