This section lists the prerequisites and steps to update Adeptia Connect UI on Tomcat.
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
- Extract Adeptia Connect zip file.
- Go to …/<ApacheTomcatInstallFolder>/Tomcat 9.0/webapps.
- Delete the existing ROOT folder and Root.war.
- 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. - Go to …/<ApacheTomcatInstallFolder>/Tomcat 9.0/webapps/Working_Directory/resources_config.
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
Start Tomcat. A new ROOT folder is created at …/<ApacheTomcatInstallFolder>/Tomcat 9.0/webapps.
 For Linux
- Open the Terminal.
- Extract Adeptia Connect zip file.
- Go to …/<ApacheTomcatInstallFolder>/webapps.
- Delete the existing ROOT folder and Root.war.
- Open the extracted folder and copy Root.war to …/<ApacheTomcatInstallFolder>/webapps.
Skip the below steps if you have already configured ServiceNow application. - Go to …/<ApacheTomcatInstallFolder>/Tomcat 9.0/webapps/Working_Directory/resources_config.
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
Start Tomcat. A new ROOT folder is created at …/<ApacheTomcatInstallFolder>/webapps.
Next Steps
Verifying Patch
See also
Recovering Adeptia Connect UI