mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
a91dd533b8
Requested by: many
22 lines
747 B
Plaintext
22 lines
747 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_13_0.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.
|