Follow the instructions in the previous two appendixes to install JDK, Ant, Tomcat, MySQL, and MM.MySQL for your appropriate operating system.
Go to http://jakarta.apache.org/log4j/jakarta-log4j-1.1.3.zip, open the archive using WinZip, and extract the archive to C:\temp\log4j. Find the dist/lib subdirectory, and copy log4j.jar to C:\JAKARTA-TOMCAT-4.0.1\LIB.
Go to http://jakarta.apache.org/builds/jakarta-turbine/archive/ turbine .old/2.1b4/, click tdk-3.0a4.zip , and open the archive extract to C:\TEMP . Copy velocity-1.2-dev.jar and turbine-2.1b4.jar from the tdk\share\lib subdirectory to C:\JAKARTA-TOMCAT-4.0.1\LIB . Be sure that you do not use the later releases because it doesn't have the turbine-2.1.jar file in it.
Unzip the CARTAPP zip file into C:\TEMP .
Open an editor in C:\TEMP\CARTAPP\bfg\build.xml and change the definition of tomcatdir to C:\JAKARTA-TOMCAT-4.0.1\ .
Do an ant dist in the C:\TEMP\CARTAPP\bfg directory .
Edit the server.xml file in C:\JAKARTA-TOMCAT-4.0.1\CONF by adding the following:
Set your browser to http://localhost:8080/bfg/jsp , and you should see the application running. If not, make sure that the basic Tomcat installation is working according to the instructions given in Appendix A,"Getting and Installing JDK, Ant, and Tomcat."