Migration Howto

Last update : April 21 2002
Doc for : v1.3

About
  • What is Cactus ?
  • News
  • Changes
  • Features/Status
  • Goals
  • Roadmap/Todo
  • Contributors
  • Contributing
  • Cactus Users
  • Tested on ...
  • License


  • Downloads
  • Downloads


  • Documentation
  • How it works ?
  • Getting Started
  • Mock vs Container
  • Javadocs
  • FAQ


  • Howto Guides
  • Classpath Howto
  • Config Howto
  • Migration Howto
  • TestCase Howto
  • Security Howto
  • Ant Howto
  • HttpUnit Howto
  • Sample Howto
  • EJB Howto
  • IDE Howto
  • JUnitEE Howto


  • Support
  • Bug database
  • Mailing list


  • Misc.
  • Why the name ?
  • Logo Challenge
  • Resources
  • Stats


  • Developers
  • CVS
  • Coding Conventions
  • Build results


  • From Cactus 1.2 to 1.3

    Here are the steps to migrate from Cactus 1.2 to 1.3

    Note This migration guide does not explain any of the new feature of Cactus 1.3 but concentrates on making you move from Cactus 1.2 to 1.3.

    Let's call CACTUS_HOME the directory where you unzipped the Cactus distribution.

    Follow these steps :

    • Step 1 : Put aspectjrt.jar (found in CACTUS_HOME/lib) in both your client side and server side classpaths.
    • Step 2 : Modify your cactus.properties to the new format. For example:
    • cactus.contextURL = http://localhost:8000/cactus
      cactus.servletRedirectorName = ServletRedirector
      
    • Step 3 : Ensure that cactus.servletRedirectorName does not end with a "/" and that the mapping in web.xml matches it :
    •     <servlet-mapping>
              <servlet-name>ServletRedirector</servlet-name>
              <url-pattern>/ServletRedirector</url-pattern>
          </servlet-mapping>
      



    Copyright © 2000-2002 The Apache Software Foundation. All Rights Reserved.