Install and Configure Tomcat install-and-configure-tomcat

In this part, we install TOMCAT and deploy the sampleRest.war file in TOMCAT. The REST endpoint exposed by this WAR file is the basis for our Data Source and Form Data Model.

To set up tomcat, please follow the following instructions:

  1. Download and install JDK1.8.
  2. Set JAVA_HOME to point to JDK1.8.
  3. Download tomcat. This war file has been tested with Tomcat version 8.5.x and 9.0.x.
  4. Download the tomcat version of your preference. You can download the 64-bit windows zip under the core section.
  5. Unzip the contents to your c:\tomcat.
  6. You should see something like this in your c drive c:\tomcat\apache-tomcat-8.5.27 depending on the version of your tomcat
  7. Create an environment variable called “CATALINA_HOME” and set its value to the tomcat install folder example c:\tomcat\apache- tomcat-8.5.27
  8. Copy the SampleRest.war file into the webapps folder of your Tomcat installation
  9. Start new command prompt window.
  10. Navigate to <tomcat install folder>\bin and run the startup.bat
  11. Once your tomcat has started, test the endpoint exposed by WAR File by clicking here
  12. You should get sample data as the result of this call.

Congratulations !!!. You have setup tomcat and deployed the SampleRest.war file.

The following video explains the deployment of sample application in Tomcat

Next Steps

Create RESTful data source

recommendation-more-help
8de24117-1378-413c-a581-01e660b7163e