vmassol     02/04/20 02:05:59

  Modified:    documentation/docs/xdocs changes.xml faq.xml
  Log:
  added a FAQ entry : "The Ant runservertests task hangs when my server is started" 
and updated changes.xml with doc change for Cactus 1.3
  
  Revision  Changes    Path
  1.6       +7 -0      jakarta-cactus/documentation/docs/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/changes.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- changes.xml       14 Apr 2002 15:56:27 -0000      1.5
  +++ changes.xml       20 Apr 2002 09:05:59 -0000      1.6
  @@ -48,6 +48,13 @@
       </devs>
   
       <release version="1.3 in CVS">
  +      <action dev="VMA" type="add">
  +        Added a Security Howto tutorial to explain how to unit test secure
  +        Servlet code.
  +      </action>
  +      <action dev="VMA" type="update">
  +        Updated the whole web site for Cactus 1.3 and added some FAQ entries.
  +      </action>
         <action dev="VMA" type="update">
           Improved Cactus logging. Cactus logging is now enabled by a
           <code>cactus.enableLogging=true</code> property that needs to be either
  
  
  
  1.3       +34 -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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- faq.xml   19 Apr 2002 21:36:01 -0000      1.2
  +++ faq.xml   20 Apr 2002 09:05:59 -0000      1.3
  @@ -32,6 +32,10 @@
             <jump anchor="faq4">How can I test the chaining of several HTTP
             requests ?</jump>
           </li>
  +        <li>
  +          <jump anchor="faq5">The Ant runservertests task hangs when my server
  +          is started</jump>
  +        </li>
         </ul>
       </s1>
   
  @@ -224,6 +228,36 @@
             integration for example). Note that this second test is rather a
             functional test than a unit test but it can still be viewed as
             unit testing the <code>doGet()</code> method of the JSP ...
  +        </p>
  +      </s2>
  +
  +    </s1>
  +
  +    <anchor id="faq5"/>
  +    <s1 title="The Ant runservertests task hangs when my server is started">
  +
  +      <s2 title="Question">
  +        <p>
  +          When I use the <code>runservertests</code> Cactus custom Ant task,
  +          it starts my server allright but then hangs and the tests are not
  +          executed. What is happening ?
  +        </p>
  +      </s2>
  +      <s2 title="Solution">
  +        <p>
  +          It means that the <code>testURL</code> attribute you've specified
  +          in <code>runservertests</code> is not a valid URL. It must be a URL
  +          that is valid when the server is up. To diagnosis the problem simply
  +          open a browser once your server is started (i.e. when the task hangs)
  +          and type the URL in your browser. An alternative to debug is also to
  +          run Ant in debug mode (<code>ant -debug [your target]</code>).
  +        </p>
  +        <p>
  +          With Cactus 1.3, the correct URL to call is the following, which is
  +          always valid :
  +          
<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>
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to