Versions Compared

Key

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

...

This section lists the prerequisites and steps for recovering the patch.

Prerequisites

Ensure that you have:

  • You have Read and Write permissions on all sub-folders and files of .../AdeptiaConnect-<Version>
  • Stopped the services, i.e., Kernel, WebRunner, and AIMap.

Recovering the patch


Expand
titlePrerequisites for MySQL database


Info

This section is applicable only when MySQL is being used as a backend or log database. In case you are using MS SQL or Oracle as backend or log database then you must skip this step.

Steps to remove the manual changes from server-config.properties file:

Info
You need to perform the below steps for Log, Backend, and Archival database.
  1. Go to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc location.
  2. Open server-configure.properties file.
  3. Go to Database Configuration section and do the following changes:
    • Update the property 'abpm.jdo.driver' value as com.mysql.jdbc.Driver.
    • Update the property 'abpm.jdo.url' by removing the value ?useSSL=false&serverTimezone=<time zone> at the end of the URL.
  4. Go to Database Appender section and do the following changes:
    • Update the property 'log4j.appender.jdbc.dbclass' value as com.mysql.jdbc.Driver.
    • Update the property 'abpm.jdo.url' by removing the value ?useSSL=false&amp;serverTimezone=<time zone> at the end of the URL.

  5. Save the file.

Steps to remove the manual changes from qaurtz.properties file:

Info
You need to perform the below steps for Log, Backend, and Archival database.
  1. Go to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc location.
  2. Open quartz.properties file.
  3. Go to Configure Datasources section and do the following changes:
    • Update the property 'org.quartz.dataSource.aBPM.driver' value as com.mysql.jdbc.Driver.
    • Update the property 'abpm.jdo.url' by removing the value ?useSSL=false&serverTimezone=<time zone> at the end of the URL.

  4. Save the file.



Expand
titleFor Windows
  1. Open the Command Prompt.
  2. Go to the folder from where you applied the patch.
  3. Run the following command to recover the patch:

    Recover-Patch.bat “<Path where Adeptia Connect is installed till AdeptiaServer folder>”

    For example:
    Recover-Patch.bat "C:/Program Files/AdeptiaConnect/AdeptiaConnect-x.x/ ConnectServer/AdeptiaServer"  

  4. Once the patch is recovered, a confirmation message will be displayed.
  5. Start the services, i.e. Kernel, WebRunner, and AIMap.

...

Info
Remove all the changes done manually at the time of deploying the patch.

Post Recovery Steps

After recovery of this patch, you will have to manually perform these steps:

...