You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Jacobs <pe...@advalvas.be> on 2000/11/06 09:50:30 UTC
WinNT4.0/JRun3.0/Cocoon1.8 installation
these were my steps to a succesfull installation. It might not be the right
way (?) but it works for me.
1. create a new web-app under the default server. Call it "cocoon-app" and
connect it with the alias "/cocoon"
2. copy the Cocoon .jar files except xerces_1_2.jar to folder "X:\Program
Files\Allaire\JRun\servers\default\lib" (do not forget cocoon.jar)
3 copy the file 'xerces_1_2.jar" to "X:\Program Files\Allaire\JRun\lib\ext"
and rename it to "aaxerces_1_2.jar"
4. copy file "cocoon.properties" to "cocoon-app/web-inf/conf/"
5. edit "cocoon-app/WEB-INF/web.xml"
6. in jrun admin, add the path [jdk folder]/lib/tools.jar to the classpath
of the default server
restart everything.
**************************************************************
contents of my "cocoon-app/WEB-INF/web.xml":
<web-app>
<display-name>Cocoon app</display-name>
<description>Cocoon app</description>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<welcome-file-list><welcome-file>index.html</welcome-file></welcome-file-lis
t>
<servlet>
<servlet-name>org.apache.cocoon.Cocoon</servlet-name>
<servlet-class>org.apache.cocoon.Cocoon</servlet-class>
<init-param>
<param-name>properties</param-name>
<param-value>web-inf/conf/cocoon.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<url-pattern>*.xml</url-pattern>
<servlet-name>org.apache.cocoon.Cocoon</servlet-name>
</servlet-mapping>
<servlet-mapping>
<url-pattern>*.fo</url-pattern>
<servlet-name>org.apache.cocoon.Cocoon</servlet-name>
</servlet-mapping>
</web-app>