Installation

In general, installation of Apache Tomcat 5.5.25 instrumented with Anyframe Infrared Application with an application involves seven steps:

  1. Download and install Sun Java VM 1.5
  2. Download and install original InfraRED distribution
  3. Download and install anyframe.tool.monitoring-1.0.0.m1.war
  4. Run Apache Tomcat 5.5.25
  5. Run Internet Browser
  6. Play with simple test monitored applications to collect some statistic data
  7. Load host page of Anyframe Infrared Application

Download and install Sun Java VM 1.5

Download and install Sun Java VM 1.5. We recommend using this version. Set JAVA_HOME environment variable.

Download and install original InfraRED distribution

Download original InfraRED distribution. Unzip the archive somewhere into your disk. Set environment variable INFRARED_HOME to the directory where you have the uncompressed the infrared distribution. E.g. for Windows:

Download and install anyframe.tool.monitoring-1.0.0.m1.war

Download and install anyframe.tool.monitoring-1.0.0.m1.war file. (JAVA 1.5 has to be already installed):

Run Apache Tomcat 5.5.25

Run prepared Apache Tomcat 5.5.25 by calling apache-tomcat-5.5.25\bin\startup.bat.

Run Internet Browser

Run Internet Browser and call list of application to be sure all application run fine, e.g: http://localhost:8290/manager/list. Input authorization information (see in tomcat-users.xml): username="tomcat" password="sam909infrared". You can see something like:
OK - Listed applications for virtual host localhost
/exadel:running:0:exadel
/exadel_21:running:0:exadel_21
/host-manager:running:0:D:/projects/Anyframe_Infrared/Documents/project/dev01/tmp/apache-tomcat-5.5.25/server/webapps/host-manager
/anyframe.tool.monitoring-1.0.0.m1:running:0:anyframe.tool.monitoring-1.0.0.m1
/exadel_31:running:0:exadel_31
/exadel_22:running:0:exadel_22
/manager:running:0:D:/projects/Anyframe_Infrared/Documents/project/dev01/tmp/apache-tomcat-5.5.25/server/webapps/manager
      
List of application should be:
  • exadel (Russian language)
  • exadel_21 (English)
  • exadel_22 (English)
  • exadel_31 (English)
  • anyframe.tool.monitoring-1.0.0.m1 (English)
Go to apache-tomcat-5.5.25/logs/catalina.out and be sure there are no errors in log file.

Play with simple test monitored applications to collect some statistic data

Play with simple test monitored applications to collect some statistic data. Call in Internet browser: http://localhost:8290/exadel_21 http://localhost:8290/exadel_22 http://localhost:8290/exadel_31 Input authorization information (see in tomcat-users.xml): username=" samsung" password=" sam909exadel" and click “Add Company”. NOTE: If you skip this step you will not be able to see any monitored application in Anyframe Infrared application.

Load host page of Anyframe Infrared Application

Call in Internet browser: http://localhost:[server port]/anyframe.tool.monitoring-1.0.0.m1 Input authorization information (see in tomcat-users.xml): username=" samsung" password=" sam909exadel." Click “SELECT APPLICATION.” Here we have shown how Anyframe Infrared may be setup with Infrared and Tomcat to be able to deploy the Anyframe Infrared application and other test applications.