Applicare SingleAgent deployment on Tomcat Sample Application - Windows

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

Windows

  1. Login into Applicare console, go to Download Agents screen in left side menu and download SingleAgentWindows and Demo Tomcat Server and copy both the files to C drive.

[Screenshot 1 is not available on this page.]

2. Unzip the ApplicareSingleAgentWindows.zip file to ApplicareSingleAgentWindows directory and unzip the apache-tomcat.zip file to apache-tomcat directory.

[Screenshot 2 is not available on this page.]

3. Go to apache-tomcat\bin directory and add the following line to the catalina.bat file below the set setlocal line. Replace the ApplicareSingleAgentWindows_Home_Path with the actual path.

call <ApplicareSingleAgentWindows_Home_Path>\scripts\setTomcatAgentEnv.bat

Example:

call C:\ApplicareSingleAgentWindows\scripts\setTomcatAgentEnv.bat

[Screenshot 3 is not available on this page.]

4. Open Command window in administrator mode in apache-tomcat\bin directory and execute startup.bat file.

[Screenshot 4 is not available on this page.]

URL to access the sample application http://localhost:8080/JPetStore/

Note:

  1. If we are going to copy the apache-tomcat to different directory then we need to change the url path in the context.xml file in the apache-tomcat/conf directory.

[Screenshot 5 is not available on this page.]

2. If we are going to copy the ApplicareSingleAgentWindows to different directory then we need to provide the right path in the apache-tomcat\bin\catalina.bat on the call script.

[Screenshot 6 is not available on this page.]

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support