| InfraRED can be easily tried with xpetstore application. Follow the below mentioned steps to integrate InfraRED with xpetstore.  
              Download InfraRED from sourceforge. Download xpetstore-3.1.3 from sourceforge.Follow the xpetstore-3.1.3 documentation to build Ear/War. The xpetstore documentation gives complete details for building the application for 
                
                  Weblogic 7.x JBoss 3.0.x Tomcat 4.xAfter creating Ear/War, deploy the application to ensure that xpetstore runs in your environment. After deploying xpetstore-servlet.war run the application. If the war is deployed in 
an unexploded
format, a problem that you will encounter is
                  
                    VelocityServlet: Error processing the template
                org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/index.vm' 
              This problem is seen, because the application is looking for *.vm files under WEB-INF/classes, while the files are packaged under the root directory. This can be fixed updating the war by moving all the *.vm files from the root folder to WEB-INF/classes. Deploy this updated War. The application should run now.  
              Now, add the InfraRED related targets to the build file. See InfraRED Install documentation.Set the appropriate attributes in the targets and run ant integrateInfraRED.Follow rest of the steps in the InfraRED User Guide.Run the InfraRED integrated xpetstore application and view the statistics on InfraRED site.    InfraRED has been tested with Weblogic 8.1, JBoss 3.0.7 and Tomcat 4.1.31.   |