The first step is to copy all of the libraries needed for Cocoon at
runtime into Tomcat's library directory. This is located at
TOMCAT_HOME/lib, where
TOMCAT_HOME is the directory of your Tomcat
installation. On my Windows machine, this is c:\java\jakarta-tomcat, and on Linux
it's /usr/local/jakarta-tomcat. However, this does
not mean simply copy everything in Cocoon's lib/ directory over (unless you want to); the
required jar files needed at
runtime are:
-
bsfengines.jar (Bean Scripting
Framework)
-
bsf.jar (Bean Scripting Framework)
-
fop_0_15_0.jar (FOP)
-
sax-bugfix.jar (SAX fixes to
error handling)
-
turbine-pool.jar (Turbine)
-
w3c.jar (W3C)
-
xalan_1_2_D02.jar (Xalan)
-
xerces_1_2.jar (Xerces)
Additionally, copy Cocoon's bin/cocoon.jar file into this same directory
(TOMCAT_HOME/lib). At that point, you'll
have all the libraries needed to run Cocoon.