Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section helps you to deploy Adeptia Connect UI on Tomcat. Before start deploying, stop Tomcat.

To deploy:

  1. Extract the war Adeptia Connect zip file
  2. Open the extracted folder and copy Root.war to <TomcatInstallFolder>.../TomcatInstallFolder>/Tomcat 9.0/webapps.
  3. Delete the existing ROOT folder.
  4. Start Tomcat. A new ROOT folder is created.
  5. Go to ROOT > WEB-INF.
  6. Open web.xml in the Text Editor and do the following:
  7. Set the path where Tomcat is installed in the app.working.dir.path in the <param-value> parameter.
  8. Save the file.
    Image Removed
  9. 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.
  10. Open the resources folderCreate a folder named Working_Directory in the .../TomcatInstallFolder>/Tomcat 9.0/webapps.
  11. Open ROOT folder and cut the resources_config folder and paste it to the Working_Directory folder created in step 5.
  12. Go to .../TomcatInstallFolder>/Tomcat 9.0/bin.
  13. Double-click tomcat9w.exe.
  14. 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= C:/Program Files/Apache Software Foundation/Tomcat 9.0/webapps/Working_Directory

     

    Image Added

  15. Click Apply.
  16. Click OK.
  17. Go to .../TomcatInstallFolder>/Tomcat 9.0/webapps/Working_Directory/resources_config.
  18. Open application.properties file in the Text Editor and do the following:
    1. Set the IP address or domain name where Adeptia Suite is running in

    the
    1. the app.base.adeptia.url

    and
    1. 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/rest

      The 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.

    For example,

    https://10.0.0.125:8443/adeptia/rest
    http://10.0.0.125:8080
    1. Info
      Make sure that IP address is same in
    both Restart Tomcat
    1. all URLs.
    Image Removed
    1. Set the IP address or domain name of the external load balancer in the app.connect.domain.

      The format is:  <IP_Address or domain_name>:<port_no>.

      Image Added

  19. Restart Tomcat.

    Info
    For a clustered environment, deploy Adeptia Connect UI on Tomcat on other nodes following the same steps.

Next Step

Verifying Deployment