This section helps you to deploy Adeptia Connect UI on Tomcat. Before start deploying, stop Tomcat.
To deploy:
- Extract Download and extract the Adeptia Connect zip file
- Delete the existing ROOT folder from .../TomcatInstallFolder>/webapps.
- Open the extracted folder and copy copy Root.war to to .../TomcatInstallFolder>/Tomcat 9.0/webapps.
- Delete the existing ROOT folder.
- Start Tomcat. A new ROOT folder is created.
- Create a folder named named Working_Directory in the in the .../TomcatInstallFolder>/Tomcat 9.0/webapps.
- Copy resources resources_config folder folder from the extracted folder and paste it to the the Working_Directory folder folder created in step 54.
- Go to .../TomcatInstallFolder>/Tomcat 9.0/bin.
- Double-click tomcat9w.exe.
On the Java tab, in the Java Options group, add the below line:
-Dappconf.Edit catalina.properties. Go to the end of the file and add the belwo property:
app.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
/opt/apache-tomcat-9.0.0.M19/webapps/working_directory
- Save and exit from the Terminal.
- Start Tomcat.
- 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.base.adeptia.url, app.adeptia.host.url, and app.base.static.content.url.
The URL format for app.base.adeptia.url is:
<protocol_name>://<IP_Address or domain_name>:<port_no>/adeptia/rest
For example,
https://10.
0.0.125:8443/adeptia/restThe URL format for app.adeptia.host.url is
<protocol_name>://<IP_Address or domain_name>:<port_no>
For example,
http://10.0.0.125:8080
The URL format for app.base.static.content.url is
<protocol_name>://<IP_Address or domain_name>:<port_no>/static/connect2
For example,
http://10.0.0.125:8080//static/connect2
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 clustered environment, provide the IP address of the load balancer.
<port_no> is the port number of the computer on which Adeptia Suite is running.
Info Make sure that IP address is same in all URLs. Set the IP address or domain name of the external load balancer in the app.connect.domain.
The format is: <IP<IP_Address or domain_name>:<port_no>.
Restart Tomcat.
For a clustered environment, deploy Adeptia Connect UI on Tomcat on other nodes following the same steps.Info
Next Step