Before deploying, stop Tomcat.
To deploy:
- Extract the war file.
- Open the extracted folder and copy Root.war to <TomcatInstallFolder>/Tomcat 9.0/webapps.
- Delete the existing ROOT folder.
- Start Tomcat. A new ROOT folder is created.
- Go to ROOT > WEB-INF.
- Open web.xml in the Text Editor and do the following:
- Set the path where Tomcat is installed in the app.working.dir.path in the <param-value> parameter.
- Save the file.
- Now, from the extracted war folder, copy the resources folder and paste in the directory where Tomcat is installed. For example, C:\Program Files\Apache Software Foundation\Tomcat 9.0.
- Open the resources folder.
Open application.properties file in the Text Editor and do the following:
Set the IP address where Adeptia Suite is running in the app.base.adeptia.url and app.adeptia.host.url.
The URL format for app.base.adeptia.url is:
<protocol_name>://<IP_Address:<port_no>/adeptia/rest
The URL format for app.adeptia.host.url is
<protocol_name>://<IP_Address:<port_no>
where,
<protocol_name> is the name of the protocol you are using. For example, http or https.
<IP_Address> is the IP address of the computer on which Adeptia Suite is running.
<port_no> is the port number of the computer on which Adeptia Suite is running.
For example,
https://10.0.0.125:8443/adeptia/rest
http://10.0.0.125:8080
Make sure that IP address is same in both URLs.
- Restart Tomcat.
Next Step