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:
- Open Eclipse.
- Select any Workspace to enter into Eclipse.
- Click OK.
- In the bottom pane, select Servers.
Right click on Servers list space, select New > Server.
- 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.
- Click Finish.
- Double click Tomcat v8.0 Server at localhost from the servers tab.
In the following screen, change the tabulated values:
Tab
Option Value Server Locations Use Tomcat installation (takes control of Tomcat installation)
Selected Deploy path
Webapps Server Options Publish module contexts to separate XML files Selected Timeouts Start (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.
- Click Save.
- Select Tomcat v8.0 Server at localhost from the servers tab.
- Click Start the server button to initiate the Tomcat 8 app server.