This section helps you to deploy Adeptia Connect UI on Tomcat. Before start deploying, stop Tomcat.
To deploy:
- Extract the Adeptia Connect zip file.
Open the extracted folder and copy Root.war to .../TomcatInstallFolder>/Tomcat 9.0/webapps.
Important
Make sure that you are installing the Adeptia Suite and war file together while you install Adeptia Connect. The versions of Suite and war file has to be same, else the installation won't work.
- Delete the existing ROOT folder.
- Start Tomcat. A new ROOT folder is created.
- Create a folder named Working_Directory in the .../TomcatInstallFolder>/Tomcat 9.0/webapps.
- Copy resources_config folder from the extracted folder and paste it to the Working_Directory folder created in step 5.
- Go to .../TomcatInstallFolder>/Tomcat 9.0/bin.
- Double-click tomcat9w.exe.
On the Java tab, in the Java Options group, add the below line:
-Dapp.working.dir.path= Tomcat Working Directory Path
For example,
-Dapp.working.dir.path=D:/Program Files/Apache Software Foundation/Tomcat 9.0/webapps/Working_Directory
- Click Apply.
- Click OK.
- Go to .../TomcatInstallFolder>/Tomcat 9.0/webapps/Working_Directory/resources_config.
- Open application.properties file in the Text Editor and do the following:
Set the IP address or domain name where Adeptia Suite is running in the app.adeptia.host.url.
The URL format for app.adeptia.host.url is
<protocol_name>://<IP_Address or domain_name>:<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. For a clustered environment, provide the IP address or domain name of the load balancer.
<port_no> is the port number of the computer on which Adeptia Suite is running.
For Adeptia Connect v 2.1, you only need to set the IP address in the app.adeptia.host.url.For example, http://10.0.0.125:8080/
Set the IP address or domain name where Tomcat is running in the app.connect.domain.
The URL format is:
<IP_Address or domain_name>:<port_no>.
where,
<IP_Address or domain_name> is the IP address or domain name of the computer on which Tomcat is running. For a clustered environment, provide the IP address or domain name of the load balancer.
<port_no> is the port number of the computer on which Tomcat is running.
Restart Tomcat.
For a clustered environment, deploy Adeptia Connect UI on Tomcat on other nodes following the same steps.
Next Step