Deploying on Tomcat
The Daisy webapp can be freely moved out of the DAISY_HOME/daisywiki directory and deployed on another servlet container. It has no external dependencies: it needs no other stuff from DAISY_HOME, nor does it need access to the daisy data directory.
Here is how you can deploy Daisy on Tomcat (this was tried both with Tomcat 5.0.28 and Tomcat 5.5.17):
First copy Daisy's webapp (directory DAISY_HOME/daisywiki/webapp) to TOMCAT_HOME/webapps/cocoon (thus the webapp directory gets renamed to cocoon).
Then make sure recent versions of xerces and xalan are in the endorsed library path of Tomcat, you can do this like this (in the Tomcat directory):
$ ls common/endorsed/ xercesImpl.jar xml-apis.jar $ rm common/endorsed/* $ cp webapps/cocoon/WEB-INF/lib/xercesImpl-<version>.jar common/endorsed/ $ cp webapps/cocoon/WEB-INF/lib/xml-apis.jar common/endorsed/ $ cp webapps/cocoon/WEB-INF/lib/xalan-<version>.jar common/endorsed/
Now start Tomcat, and surf to http://localhost:8080/cocoon/daisy/. That's all there is to it. Note that Daisy requires an expanded webapp, not a war archive.



There are no comments.