Deployment - Apache Tomcat (CTModelHouse)

The application server can be initiated by any one of the following two methods:

Method 1:
Execute the startup.bat file from the path <Tomcat-Installed-Folder>\bin\startup.bat

Method 2:
The second method involves configuring Eclipse to initiate the Tomcat 8 app server before deployment.

Do the steps that follow to initiate the Tomcat 8 app server from Eclipse:

  1. Open Eclipse.
  2. Select any Workspace to enter into Eclipse.
  3. Click OK.
  4. In the bottom pane, select Servers.
  5. Right click on Servers list space, select New > Server.

  6. In the New Server window, select Apache > Tomcat v8.0 Server.

    Note: Once Tomcat v8.0 Server is selected the values in the 'Server's host name', 'Server name' and 'Server runtime environment' will change automatically and do not require any amendments.

  7. Click Finish.
  8. Double click Tomcat v8.0 Server at localhost from the servers tab.
  9. In the following screen, change the tabulated values:

    Tab

    OptionValue
    Server Locations

    Use Tomcat installation (takes control of Tomcat installation)

    Selected

    Deploy path

    Webapps
    Server OptionsPublish  module  contexts  to separate XML filesSelected
    TimeoutsStart (in seconds)2000


    If necessary, the port number can be changed for HTTP/1.1 under the Ports tab and the same port number can be used while accessing the application through the browser.

  10. Click Save.
  11. Select Tomcat v8.0 Server at localhost from the servers tab.
  12. Click Start the server button to initiate the Tomcat 8 app server.