Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Check out the source from the repository location which contains the samples.

    Code Block
    svn co https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0turing/products/is/4.5.0/modules/samples/sso/
  2. Go to <HOME>/sso/SSOAgentSample in the checked out folder and build the sample with following command.

    Code Block
    mvn clean install
  3. After successfully building the sample, a .war file named travelocity.com can be found inside the <HOME>/sso/SSOAgentSample/target folder.
  4. Deploy this sample web app on a web container. To do this, use the Apache Tomcat server.

    Info

    Since this sample is written based on Servlet 3.0 it needs to be deployed on Tomcat 7.x.

    Use the following steps to deploy the web app in the web container:

    1. Stop the Apache Tomcat server if it is already running.
    2. Copy the travelocity.war file to the <TOMCAT_HOME>/webapps folder.
    3. Start the Apache Tomcat server.

...