Updating Adeptia Connect v2.7 UI on Tomcat

This section lists the prerequisites and steps to update Adeptia Connect UI on Tomcat.

Though every release of Adeptia comes with seamless upgrades and bug-free patches. For customer's complex use cases, we recommend applying the patch in a non-production environment first followed by testing. After the use cases run successfully without any errors or warnings, you can apply the patch in the production environment. 

Prerequisites

  • Stop Tomcat before updating Adeptia Connect UI.
  • Take the backup of the ROOT folder from …/<ApacheTomcatInstallFolder>/webapps.

Steps to update the patch:


 For Windows
  1. Extract Adeptia Connect zip file.
  2. Go to …/<ApacheTomcatInstallFolder>/Tomcat 9.0/webapps.
  3. Delete the existing ROOT folder and Root.war.
  4. Open the extracted folder and copy Root.war to …/<ApacheTomcatInstallFolder>/Tomcat 9.0/webapps.
  5. Go to …/<ApacheTomcatInstallFolder>/Tomcat 9.0/webapps/Working_Directory/resources_config.
  6. Open apps.properties file in the Text Editor and add the following code at the end of the file:

    # Microsoft SharePoint
    microsoftsharepoint.oauthVersion=2.0
    microsoftsharepoint.oauth20.authorize=https://{domain}.sharepoint.com/_layouts/15/OAuthAuthorize.aspx
    microsoftsharepoint.oauth20.accessToken=https://accounts.accesscontrol.windows.net/{realmId}/tokens/OAuth/2
    microsoftsharepoint.scope=Site.Manage List.Manage Web.Manage Web.Write AllSites.Manage AllProfiles.Manage Microfeed.Manage
    microsoftsharepoint.AccessTokenValueMap=resource$00000003-0000-0ff1-ce00-000000000000/{domain}.sharepoint.com@{realmId}
  7. Start Tomcat. A new ROOT folder is created at …/<ApacheTomcatInstallFolder>/Tomcat 9.0/webapps.
 For Linux
  1. Open the Terminal.
  2. Extract Adeptia Connect zip file.
  3. Go to …/<ApacheTomcatInstallFolder>/webapps.
  4. Delete the existing ROOT folder and Root.war.
  5. Open the extracted folder and copy Root.war to …/<ApacheTomcatInstallFolder>/webapps.
  6. Go to …/<ApacheTomcatInstallFolder>/webapps/working_directory/resources_config.
  7. Open apps.properties file in the Text Editor and add the following code at the end of the file:

    # Microsoft SharePoint
    microsoftsharepoint.oauthVersion=2.0
    microsoftsharepoint.oauth20.authorize=https://{domain}.sharepoint.com/_layouts/15/OAuthAuthorize.aspx
    microsoftsharepoint.oauth20.accessToken=https://accounts.accesscontrol.windows.net/{realmId}/tokens/OAuth/2
    microsoftsharepoint.scope=Site.Manage List.Manage Web.Manage Web.Write AllSites.Manage AllProfiles.Manage Microfeed.Manage
    microsoftsharepoint.AccessTokenValueMap=resource$00000003-0000-0ff1-ce00-000000000000/{domain}.sharepoint.com@{realmId}
  8. Start Tomcat. A new ROOT folder is created at …/<ApacheTomcatInstallFolder>/webapps.

 

Next Step

Configure Web Forms if you want to use in Adeptia Connect.

Verifying Patch

See also

Recovering Adeptia Connect UI