You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/08/01 04:19:24 UTC

cvs commit: xml-cocoon2/src/documentation/xdocs/installing index.xml

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:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Re: cvs commit: xml-cocoon2/src/documentation/xdocs/installing index.xml

Posted by Torsten Curdt <tc...@dff.st>.
On Thursday 01 August 2002 14:28, Vadim Gritsenko wrote:
> > From: Torsten Curdt [mailto:tcurdt@dff.st]
> > Sent: Thursday, August 01, 2002 3:21 AM
> > To: cocoon-dev@xml.apache.org
> > Subject: Re: cvs commit:
>
> xml-cocoon2/src/documentation/xdocs/installing
>
> > index.xml
> >
> > Vadim, from what I can tell there is no need to replace the resin xml
>
> parser
>
> > with xerces as long you have the classloader-hack option set to true.
> >
> > Are you sure you got problems with it otherwise?
>
> Please read carefully:
>
>     <strong>For 2.0.3 version and older:</strong>
>
>
> It has to be done for versions 2.0.0 - 2.0.3. These versions (IIRC) do
> not have classloader-hack parameter.

sorry, just read the diff and got it wrong...
Everthing fine then :-)
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: cvs commit: xml-cocoon2/src/documentation/xdocs/installing index.xml

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Torsten Curdt [mailto:tcurdt@dff.st]
> Sent: Thursday, August 01, 2002 3:21 AM
> To: cocoon-dev@xml.apache.org
> Subject: Re: cvs commit:
xml-cocoon2/src/documentation/xdocs/installing
> index.xml
> 
> Vadim, from what I can tell there is no need to replace the resin xml
parser
> with xerces as long you have the classloader-hack option set to true.
> 
> Are you sure you got problems with it otherwise?

Please read carefully:

    <strong>For 2.0.3 version and older:</strong>


It has to be done for versions 2.0.0 - 2.0.3. These versions (IIRC) do
not have classloader-hack parameter.

Vadim


> cheers
> --
> Torsten


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: cvs commit: xml-cocoon2/src/documentation/xdocs/installing index.xml

Posted by Torsten Curdt <tc...@dff.st>.
Vadim, from what I can tell there is no need to replace the resin xml parser 
with xerces as long you have the classloader-hack option set to true.

Are you sure you got problems with it otherwise?

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org