JOnAS v2.4 Tutorial | ||
---|---|---|
<<< Previous | The Alarm application | Next >>> |
You should have installed Tomcat (3.2.x) as explained in this tutorial (the section called Configuring Tomcat in the chapter called Configuring your environment or the section called Configuring Apache in the chapter called Configuring your environment) or in the JOnAS documentation :
the TOMCAT_HOME environment variable should be set,
$TOMCAT_HOME/lib/servlet.jar should be in your classpath (a good way is to update your $JONAS_ROOT/bin/<unix|nt>/config_env script by adding $TOMCAT_HOME/lib/servlet.jar to the XTRA_CLASSPATH).
The first step is to compile the alarm application. The simplest way is to go under $JONAS_ROOT/example/alarm directory and to use the compile.sh shell script on Unix, or the compile.bat script on Windows.
If the GNU make is installed on your machine, you can build the alarm example by using the Makefile file you find in this directory. To do so just type make install.
Ant users can build all examples in one shot by going in $JONAS_ROOT/example and using ant compile.
<<< Previous | Home | Next >>> |
Finding the alarm application | Up | Configuring Tomcat (more) |