vgritsenko    2002/07/31 19:19:24

  Modified:    src/documentation/xdocs/installing Tag: cocoon_2_0_3_branch
                        index.xml
  Log:
  update with notes on resin 2.1.x
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.18.2.10 +22 -12    xml-cocoon2/src/documentation/xdocs/installing/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/installing/index.xml,v
  retrieving revision 1.18.2.9
  retrieving revision 1.18.2.10
  diff -u -r1.18.2.9 -r1.18.2.10
  --- index.xml 30 Jul 2002 00:56:27 -0000      1.18.2.9
  +++ index.xml 1 Aug 2002 02:19:24 -0000       1.18.2.10
  @@ -1164,24 +1164,27 @@
        </note>
       </s2>
   
  -    <s2 title="Installing on Resin 2.0.x">
  +    <s2 title="Installing on Resin 2.x">
        <p>
  -        This section describes the deployment of the Cocoon sample WAR with Resin 
2.0.x.
  +        This section describes the deployment of the Cocoon sample WAR with Resin 
2.x.
           It assumes that you built Cocoon as described above. All steps have been 
tested
  -        with a fresh Resin 2.0.0, 2.0.1 and 2.0.4 installations (the package is 
available from
  +        with a fresh Resin 2.0.0, 2.0.4, and 2.1.3 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>
        <source>
   [path]...
  -[path]/resin-2.0.x/lib
  -[path]/resin-2.0.x/webapps
  +[path]/resin-2.x/conf
  +[path]/resin-2.x/lib
  +[path]/resin-2.x/webapps
   [path]...</source>
        <p>To get Cocoon running do the following:</p>
        <ul>
          <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)
  +       
  +       <li>
  +         <strong>For 2.0.3 version and older:</strong>
  +         If yours Resin is older then 2.0.4, you have to install Xerces as default 
XML parser for Resin
            <ul><li>Remove the following files from the <code>resin-2.0.x/lib</code> 
directory:
              <ul>
                <li>jaxp.jar</li>
  @@ -1194,19 +1197,26 @@
                the <code>resin-2.0.x/lib/</code> directory.</li>
            </ul>
          </li>
  -       <li>Copy the <code>xml-cocoon2/build/cocoon/cocoon.war</code> WAR file to 
<code>resin-2.0.x/webapps</code> directory
  +
  +       <li>
  +         <strong>For 2.0.4 version and newer:</strong>
  +         Edit <code>resin-2.x/conf/resin.conf</code>, change value of the
  +         <code>servlet-classloader-hack</code> element to <code>true</code>
  +       </li>
  +
  +       <li>Copy the <code>xml-cocoon2/build/cocoon/cocoon.war</code> WAR file to 
<code>resin-2.x/webapps</code> directory
          </li>
          <li>Start Resin as usual</li>
          <li>Open the Cocoon welcome page 
(<code>http://localhost:8080/cocoon/</code>)</li>
          <li>Congratulations! (hopefully) you should see the Cocoon welcome page.</li>
        </ul>
        <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
  +       directory different than <code>resin-2.x/webapps</code>, you need
  +       to edit <code>resin-2.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>
  -       </note>
  -     </s2>
  +     </note>
  +    </s2>
   
        <s2 title="Installing on HP-AS 8.X">
          <p>HP-AS is J2EE application server available from the Hewlett-Packard 
website.
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to