mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
91b39cccaa
PR: 23638 Submitted by: Allan Bowhill <kosmos@bowhill.yi.org>
23 lines
815 B
Plaintext
23 lines
815 B
Plaintext
To activate Cocoon:
|
|
|
|
(1) Add following line into jserv.conf.
|
|
|
|
"ApJServAction .xml /servlets/org.apache.cocoon.Cocoon"
|
|
|
|
(2) Add following lines into jserv.properties.
|
|
|
|
"wrapper.classpath=/usr/local/share/java/classes/cocoon.jar"
|
|
"wrapper.classpath=/usr/local/share/java/classes/xerces_1_2.jar"
|
|
"wrapper.classpath=/usr/local/share/java/classes/xalan_1_2_D02.jar"
|
|
"wrapper.classpath=/usr/local/share/java/classes/fop_0_15_0.jar"
|
|
"wrapper.classpath=/usr/local/share/java/classes/turbine-pool.jar"
|
|
|
|
(3) Add following line into zone.properties.
|
|
|
|
"repositories=/usr/local/share/java/classes/cocoon.jar"
|
|
"servlet.org.apache.cocoon.Cocoon.initArgs=properties=/usr/local/etc/apache/cocoon/cocoon.properties"
|
|
|
|
(4) Make directory "/var/tmp/cocoon-repository".
|
|
|
|
(5) Restart Apache and check http://localhost/Cocoon.xml.
|