jakarta-cactus-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vmas...@apache.org
Subject cvs commit: jakarta-cactus/documentation/docs/xdocs contributors.xml faq.xml howto_config.xml news.xml resources.xml
Date Thu, 23 May 2002 09:34:59 GMT
vmassol     02/05/23 02:34:59

  Modified:    documentation/docs/xdocs contributors.xml faq.xml
                        howto_config.xml news.xml resources.xml
  Log:
  merges from branch CACTUS_13_BRANCH
  
  Revision  Changes    Path
  1.3       +3 -0      jakarta-cactus/documentation/docs/xdocs/contributors.xml
  
  Index: contributors.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/contributors.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- contributors.xml	14 Apr 2002 21:51:47 -0000	1.2
  +++ contributors.xml	23 May 2002 09:34:59 -0000	1.3
  @@ -56,6 +56,9 @@
             <link href="mailto:ndlesiecki@apache.org">Nicholas Lesiecki</link>
           </li>
           <li>
  +          <link href="mailto:hudsoncwwong@yahoo.com">Hudson Wong</link>
  +        </li>
  +        <li>
             <link href="mailto:Jason.Robertson@acs-inc.com">Jason Robertson</link>
           </li>
           <li>
  
  
  
  1.5       +40 -0     jakarta-cactus/documentation/docs/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/faq.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- faq.xml	21 Apr 2002 13:05:02 -0000	1.4
  +++ faq.xml	23 May 2002 09:34:59 -0000	1.5
  @@ -36,6 +36,11 @@
             <jump anchor="faq5">The Ant runservertests task hangs when my server
             is started</jump>
           </li>
  +        <li>
  +          <jump anchor="faq6">I'm getting a
  +          "<code>not a valid response</code> error message. What does it
  +          mean ?</jump>
  +        </li>
         </ul>
       </s1>
   
  @@ -264,6 +269,41 @@
             <code>http://localhost:8080/webapp/ServletRedirector?Cactus_Service=RUN_TEST</code>.
             Of course replace <code>webapp</code> by your webapp context and
             replace the port by the one you're using.
  +        </p>
  +      </s2>
  +
  +    </s1>
  +
  +    <anchor id="faq6"/>
  +    <s1 title="I'm getting a 'not a valid response' error message. What does it mean
?">
  +
  +      <s2 title="Question">
  +        <p>
  +         When I run my Cactus test, I'm getting the following :
  +        </p>
  +
  +<source><![CDATA[
  +testRequestDispatcherInclude(org.apache.cactus.sample.TestSampleServlet)
  +  org.apache.cactus.util.ChainedRuntimeException:
  +
  +Not a valid response
  +  at
  +org.apache.cactus.client.WebTestResultParser.readRootElement(
  +  WebTestResultParser.java;org/apache/cactus/util/log/LogAspect.java(1k):134)
  +]]></source>
  +
  +      </s2>
  +      <s2 title="Solution">
  +        <p>
  +          It means that Cactus could not connect to the server side properly.
  +          There could several reasons for this : a valid Redirector URL but
  +          not pointing to the Redirector, a secured resource, etc.
  +        </p>
  +        <p>
  +          To easiest way to diagnosis the problem is to enable Cactus logging
  +          (see the <link href="howto_config.html">Configuration Howto</link>
  +          for how to do this). The cactus client log
  +          (<code>cactus_client.log</code> will clearly give the error).
           </p>
         </s2>
   
  
  
  
  1.3       +10 -27    jakarta-cactus/documentation/docs/xdocs/howto_config.xml
  
  Index: howto_config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/howto_config.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- howto_config.xml	19 Apr 2002 21:36:01 -0000	1.2
  +++ howto_config.xml	23 May 2002 09:34:59 -0000	1.3
  @@ -276,10 +276,14 @@
           <s3 title="log_client.properties">
   
             <p>
  -            A default <code>log_client.properties</code> is already provided
  -            in the <code>cactus.jar</code> jar. It is used for
  -            configuring Log4j, which is the logging framework used by Cactus
  -            to log debug information.
  +            This file is used for configuring Log4j, which is the logging
  +            framework used by Cactus to log debug information. A sample
  +            <code>log_client.properties</code> is provided in the Cactus sample
  +            application.
  +          </p>
  +          <p>
  +            You should put this file in your client side classpath if you wish
  +            to enable logging.
             </p>
             <p>
               If the Log4j jar is not present on the client side classpath,
  @@ -300,7 +304,7 @@
               </li>
             </ul>
             <p>
  -            The default <code>log_client.properties</code> is :
  +            The sample <code>log_client.properties</code> is :
             </p>
   
   <source><![CDATA[
  @@ -328,14 +332,6 @@
               <link href="http://jakarta.apache.org/log4j">Log4j web site</link>.
             </p>
   
  -          <p>
  -            If you wish to define another file name and location or other
  -            logging parameter, just provide your own
  -            <code>log_client.properties</code> file (it has to be named this
  -            way) and put in the client side classpath <strong>before</strong>
  -            the <code>cactus.jar</code> file.
  -          </p>
  -
           </s3>
   
           <anchor id="client_command_line"/>
  @@ -603,7 +599,7 @@
               <jump anchor="client_log_client_properties">client side</jump>.
             </p>
             <p>
  -            The default <code>log_server.properties</code> is :
  +            The sample <code>log_server.properties</code> is :
             </p>
   
   <source><![CDATA[
  @@ -625,19 +621,6 @@
   log4j.category.org.apache.cactus = WARN, cactus
   log4j.additivity.org.apache.cactus=false
   ]]></source>
  -
  -          <p>
  -            If you wish to define another file name and location or other
  -            logging parameter, just provide your own
  -            <code>log_server.properties</code> file (it has to be named this
  -            way) and put in the <code>WEB-INF/classes</code> directory of
  -            your webapp (and hope that the webapp classloader of your server
  -            picks up the files in <code>WEB-INF/classes</code> before the ones
  -            in <code>WEB-INF/lib</code>, where <code>cactus.jar</code>
  -            is located ... :) I don't know if this is part of the
  -            specification). Alternatively, edit the file in
  -            <code>cactus.jar</code> !
  -          </p>
   
           </s3>
   
  
  
  
  1.8       +14 -0     jakarta-cactus/documentation/docs/xdocs/news.xml
  
  Index: news.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/news.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- news.xml	18 May 2002 15:11:08 -0000	1.7
  +++ news.xml	23 May 2002 09:34:59 -0000	1.8
  @@ -34,6 +34,20 @@
   
           <tr>
             <td>
  +            19/05/2002
  +          </td>
  +          <td>
  +            New <link href="http://www-106.ibm.com/developerworks/java/library/j-aspectj2/?loc=j">Test
  +            flexibly with AspectJ and mock objects</link> article by
  +            <link href="mailto:ndlesiecki@apache.org">Nick Lesiecki</link>
:
  +            It demonstrates how to use AspectJ in association with Mock Objects
  +            to provide greater test flexibility. It also shows how AspectJ can
  +            complement Cactus tests.
  +          </td>
  +        </tr>
  +
  +        <tr>
  +          <td>
               18/05/2002
             </td>
             <td>
  
  
  
  1.3       +41 -0     jakarta-cactus/documentation/docs/xdocs/resources.xml
  
  Index: resources.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/resources.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- resources.xml	18 May 2002 15:11:08 -0000	1.2
  +++ resources.xml	23 May 2002 09:34:59 -0000	1.3
  @@ -21,6 +21,46 @@
               Link
             </td>
             <td>
  +            <link href="http://www-106.ibm.com/developerworks/java/library/j-aspectj2/?loc=j">Test
  +            flexibly with AspectJ and mock objects</link>
  +          </td>
  +        </tr>
  +        <tr>
  +          <td>
  +            Type
  +          </td>
  +          <td>
  +            Article
  +          </td>
  +        </tr>
  +        <tr>
  +          <td>
  +            Date
  +          </td>
  +          <td>
  +            Submitted on May 2002
  +          </td>
  +        </tr>
  +        <tr>
  +          <td>
  +            Description
  +          </td>
  +          <td>
  +            This article demonstrates how to use AspectJ in association
  +            with Mock Objects to provide greater test flexibility. It also
  +            demonstrates how AspectJ can complement Cactus tests.
  +          </td>
  +        </tr>
  +      </table>
  +
  +      <p/>
  +
  +      <table>
  +        <tr>
  +          <td>
  +            Link
  +          </td>
  +          <td>
               <link href="http://kacoma.sourceforge.net">KaCoMa</link>
             </td>
           </tr>
  @@ -54,6 +94,7 @@
         </table>
   
         <p/>
  +>>>>>>> 1.1.2.2
   
         <table>
           <tr>
  
  
  

--
To unsubscribe, e-mail:   <mailto:cactus-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-dev-help@jakarta.apache.org>


Mime
View raw message