vgritsenko 01/12/17 11:32:31 Modified: documentation/xdocs/installing Tag: cocoon_20_branch index.xml Log: Update Resin installation doc Revision Changes Path No revision No revision 1.1.2.7 +16 -12 xml-cocoon2/documentation/xdocs/installing/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/documentation/xdocs/installing/index.xml,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -r1.1.2.6 -r1.1.2.7 --- index.xml 2001/12/17 07:21:51 1.1.2.6 +++ index.xml 2001/12/17 19:32:31 1.1.2.7 @@ -452,7 +452,7 @@ <p> This section describes the deployment of the Cocoon sample WAR with Resin 2.0.x. It assumes that you built Cocoon as described above. All steps have been tested - with a fresh Resin 2.0.0 and 2.0.1 installations (the package is available from + with a fresh Resin 2.0.0, 2.0.1 and 2.0.4 installations (the package is available from <link href="http://www.caucho.com/download/">Resin's download page</link>) </p> <p>After unpacking the Resin package you get the following directory structure</p> @@ -461,32 +461,36 @@ [path]/resin-2.0.x/lib [path]/resin-2.0.x/webapps [path]...</source> - <p>In order to get Cocoon running you have to install Xerces as default XML parser for Resin.</p> + <p>To get Cocoon running do the following:</p> <ul> - <li>Stop the server if it is running.</li><li>Remove the following files from the <code>resin-2.0.x/lib</code> directory: - <ul> - <li>jaxp.jar</li> - <li>dom.jar</li> - <li>sax.jar</li> + <li>Stop the server if it is running.</li> + <li>If yours Resin is older then 2.0.4, you have to install Xerces as default XML parser for Resin + (Skip this step if you are using Resin 2.0.4 or newer) + <ul><li>Remove the following files from the <code>resin-2.0.x/lib</code> directory: + <ul> + <li>jaxp.jar</li> + <li>dom.jar</li> + <li>sax.jar</li> + </ul> + </li> + <li>Copy the <code>xerces-XXX.jar</code> JAR file from <code>xml-cocoon2/lib</code> to + <code>resin-2.0.x/lib</code> directory</li> </ul> </li> - <li>Copy the <code>xerces-XXX.jar</code> JAR file from <code>xml-cocoon2/lib</code> to <code>resin-2.0.x/lib</code> directory - </li> <li>Copy the <code>xml-cocoon2/build/cocoon/cocoon.war</code> WAR file to <code>resin-2.0.x/webapps</code> directory </li> <li>Start Resin as usual</li> <li>Open the Cocoon welcome page (http://localhost:8080/cocoon/)</li> <li>Congratulations! (hopefully) you should see the Cocoon welcome page.</li> </ul> - <p><strong>Note:</strong> If you want to place Cocoon webapp in a + <note> If you want to place Cocoon webapp in a directory different than <code>resin-2.0.x/webapps</code>, you need to edit <code>resin-2.0.x/conf/resin.conf</code> file and add a line somewhere in <code><![CDATA[<host>]]></code> tag: <code><![CDATA[<web-app id='/cocoon' app-dir='/path/to/webapp/cocoon.war'/>]]></code> - </p> + </note> </s2> </s1> </body> </document> -
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]