craigmcc    01/03/13 11:10:44

  Modified:    tester/src/bin tester.xml
  Log:
  Repeat the JNDI tests after an application restart, to ensure that the web
  application's naming context has been reinitialized correctly.
  
  Revision  Changes    Path
  1.20      +26 -0     jakarta-tomcat-4.0/tester/src/bin/tester.xml
  
  Index: tester.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/tester/src/bin/tester.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- tester.xml        2001/03/13 19:06:14     1.19
  +++ tester.xml        2001/03/13 19:10:42     1.20
  @@ -138,6 +138,32 @@
   
       <!-- ========== JNDI Naming Context =================================== -->
   
  +    <!-- Perform the tests before restarting the application -->
  +    <tester host="${host}" port="${port}" protocol="${protocol}"
  +         request="${context.path}/Jndi01" debug="${debug}"
  +      outContent="Jndi01 PASSED"/>
  +
  +    <tester host="${host}" port="${port}" protocol="${protocol}"
  +         request="${context.path}/WrappedJndi01" debug="${debug}"
  +      outContent="Jndi01 PASSED"/>
  +
  +    <tester host="${host}" port="${port}" protocol="${protocol}"
  +         request="${context.path}/Jndi02" debug="${debug}"
  +      outContent="Jndi02 PASSED"/>
  +
  +    <tester host="${host}" port="${port}" protocol="${protocol}"
  +         request="${context.path}/WrappedJndi02" debug="${debug}"
  +      outContent="Jndi02 PASSED"/>
  +
  +    <!-- Restart this web application -->
  +    <!-- NOTE: Assign role "manager" to user "tomcat" for this to work -->
  +    <tester host="${host}" port="${port}" protocol="${protocol}"
  +           debug="${debug}"
  +       inHeaders="Authorization:Basic dG9tY2F0OnRvbWNhdA=="
  +         request="${manager.path}/reload?path=${context.path}"
  +      outContent="OK - Reloaded application at context path ${context.path}"/>
  +
  +    <!-- Repeat the tests to ensure the naming context is reinitialized -->
       <tester host="${host}" port="${port}" protocol="${protocol}"
            request="${context.path}/Jndi01" debug="${debug}"
         outContent="Jndi01 PASSED"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to