Updating Adeptia Connect v2.9.2 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.
    Skip the below steps if you have already configured ServiceNow application.
  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:

    # Service Now
    
    servicenow.baseApiUrl=https://{domain}.service-now.com
    servicenow.oauthVersion=2.0
    servicenow.oauth20.accessToken=https://{domain}.service-now.com/oauth_token.do
    servicenow.oauth20.authorize=https://{domain}.service-now.com/oauth_auth.do
    servicenow.refreshToken=N/A
    servicenow.authorizationValueMap=response_type$code
    servicenow.refreshTokenValueMap=N/A
    servicenow.accessTokenValueMap=N/A
  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.
    Skip the below steps if you have already configured ServiceNow application.
  6. Go to …/<ApacheTomcatInstallFolder>/Tomcat 9.0/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:

    # Service Now
    
    servicenow.baseApiUrl=https://{domain}.service-now.com
    servicenow.oauthVersion=2.0
    servicenow.oauth20.accessToken=https://{domain}.service-now.com/oauth_token.do
    servicenow.oauth20.authorize=https://{domain}.service-now.com/oauth_auth.do
    servicenow.refreshToken=N/A
    servicenow.authorizationValueMap=response_type$code
    servicenow.refreshTokenValueMap=N/A
    servicenow.accessTokenValueMap=N/A
  8. Start Tomcat. A new ROOT folder is created at …/<ApacheTomcatInstallFolder>/webapps.

Next Steps

Verifying Patch

See also

Recovering Adeptia Connect UI