Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

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

To deploy:

  1. Extract Download and extract the Adeptia Connect zip file
  2. Delete the existing ROOT directory from .../TomcatInstallDirectory>/webapps.
  3. Open the extracted folder directory and copy copy Root.war to  to .../TomcatInstallFolder>/Tomcat 9.0TomcatInstallDirectory>/webapps.
  4. Delete the existing ROOT folder.
  5. Start Tomcat. A new ROOT folder is created.
  6. Create a folder directory named Working_Directory in the working_directory in the .../TomcatInstallFolder>/Tomcat 9.0TomcatInstallDirectory>/webapps.
  7. Copy resources resources_config folder from  directory from the extracted folder and paste it to the Working_Directory folder created working_directory directory created in step 54.
  8. Go to .../TomcatInstallFolder>/Tomcat 9.0/bin.
  9. Double-click tomcat9w.exe.
  10. On the Java tab, in the Java Options group, add the below line:

    -Dapp.working.dir.path= Tomcat Working Directory Path

    For example,

    -DappTomcatInstallDirectory>/conf.
  11. Edit catalina.properties file to configure Adeptia working directory path. Add the path where you have created working_directory. Add the command at the end of the file. For example,

    app.working.dir.path=D:/Program Files/Apache Software Foundation/Tomcat 9.0opt/apache-tomcat-9.0.0.M19/webapps/Workingworking_Directory

     

    Image Removed
  12. Click Apply.
  13. Click OK.
  14. directory
  15. Save and exit from the Terminal.
  16. Go to .../TomcatInstallFolder>/Tomcat 9.0/TomcatInstallDirectory>/webapps/Workingworking_Directorydirectory/resources_config.
  17. Open application.properties file in the Text Editor and do the following:

    For a clustered environment, deploy Adeptia Connect UI on Tomcat on other nodes following the same steps.
    1. Set the IP address or domain name where Adeptia Suite is running in the app.base.adeptia.urlapp.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 , for example, http  HTTP or httpsHTTPS.

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

      Info
      Make sure that IP address is same in all URLs.

       

    2. Set the IP address or domain name of the external load balancer in the where Tomcat is running in the app.connect.domain.

      The

      URL format

      is:

       <IP

      <IP_Address or domain_name>:<port_no>.

      Image Removed

    Restart Tomcat.

    Info
    1. 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.

      Image Added

     

  18. Restart Tomcat.

     

Next Step

Verifying Deployment