Getting Started - Tomcat
Either:
- download a copy of Tomcat 5.0.28+ - unpack it somewhere
- set TOMCAT50_HOME to this directory and export it
Or:
- download a copy of Tomcat 5.5.9+ - unpack it somewhere
- set TOMCAT55_HOME to this directory and export it
Optionally, if you would like to make use of the Spring JMX integration
for WADI so that you can browse WADI's MBeans via e.g. mc4j
(recommended), you will need to do the following :
- download a copy of mx4j-3.0.1 - unpack it somewhere
- set MX4J_HOME to this directory and export it
- If using Tomcat-50, remove $TOMCAT50_HOME/bin/jmx.jar
- copy $MX4J_HOME/lib/{mx4j.jar,mx4j-remote.jar,mx4j-tools.jar} into $TOMCAT50_HOME/server/lib or $TOMCAT55_HOME/server/lib
There are two ways to start a Tomcat node :
EITHER:
-
"cd $WADI_HOME/bin; ./node.sh <container> <id>"
e.g.
-
"cd $WADI_HOME/bin; ./node.sh tomcat50 red"
-
"cd $WADI_HOME/bin; ./node.sh tomcat55 green"
OR:
-
Copy the WADI jars into your Tomcat tree, configure your Tomcat with values from the relevant wadi configuration and start Tomcat
in the usual way - TO BE DOCUMENTED.