Step 1: Install applicare singleagent in the machine where Tomcat is running. Follow the first 2 steps for installing Applicare SingleAgent
Steps 2: Go to <tomcat_home_path>\bin directory and add the following line to the catalina.sh file.
Replace ServerName with the name which we would like to add the agent.The agent will be added to the controller with the name you give it.
Replace ApplicareSingleAgentHomePath with the actual ApplicareSingleAgent Home directory.