This topic provides instructions on how to deploy the sample application (travelocity).
Deploy this sample web app on a web container.
Use the Apache Tomcat server to do this. If you have not downloaded Apache Tomcat already, download it from here.
Tip: Since this sample is written based on Servlet 3.0, it needs to be deployed on Tomcat 7.x.
Copy the .war file into the
webappsfolder. For example,
- Start the Tomcat server.
To check the sample application, navigate to
http://<TOMCAT_HOST>:<TOMCAT_PORT>/travelocity.com/index.jsp on your browser.
Note: It is recommended that you use a hostname that is not
localhost to avoid browser errors. Modify the
/etc/hosts entry in your machine to reflect this. Note that
localhost is used throughout this documentation as an example, but you must modify this when configuring these authenticators or connectors with this sample application.