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.

The patch will automatically recover if any error occurs. In case, you want to recover the patch manually, follow the steps described later in this section.  

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

Table of Contents
maxLevel3

Prerequisites

Ensure that you have:

  • Read and Write permissions on all subfolders and files of .../AdeptiaSuite-<Version>.
  • Stopped Kernel and WebRunner.

Recovering the patch

...

...

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 can skip this step.

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

Info

You need to perform the below steps for the backend and log database. If you have configured a separate database for archiving the logs then you need to perform the same steps for the Archival log 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 'log4j.appender.jdbc.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:

  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 'org.quartz.dataSource.aBPM.URL' by removing the value ?useSSL=false&serverTimezone=<time zone> at the end of the URL.

  4. Save the file.

...

For Windows

  1. Open the Command Prompt.
  2. Go to the folder from where you applied the previous patch.
  3. Run the following command to recover the patch:
    Recover-Patch.bat “<Path where Adeptia Suite is installed till AdeptiaServer folder>” 

    For example:

    Recover-Patch.bat "C:/Program Files/AdeptiaSuite/AdeptiaSuite-x.x/AdeptiaServer"

    Once the patch is recovered, a confirmation message will be displayed.

  4. Start Kernel and WebRunner.

...


For Linux

  1. Open the Terminal.
  2. Go to the directory from where you applied the previous patch.
  3. Run the following command to recover the patch:
    Recover-Patch.bat <Path where Adeptia Suite is installed till AdeptiaServer folder> 

    For example:

    Recover-Patch.bat /mnt/AdeptiaSuite-x.x/AdeptiaServer

    Once the patch is recovered, a confirmation message will be displayed.

  4. Start Kernel and WebRunner.

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

Post Recovery Steps

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

  1. Paste the backup websecurityContext.xml xml file (that you had saved as a backup) at the   .../<AdeptiaInstallFolder>/\AdeptiaServer/ServerKernel/web/WEB-INF \ServerKernel\etc\saml location.
  2. Paste the backup jetty web.xml  file (that you had saved as a backup) at the .../<AdeptiaInstallFolder>/\AdeptiaServer/ServerKernel/etc/jetty location. In case you are using MySQL as Backend and Log database and you have done the manual changes, then follow the below step:\ServerKernel\web\WEB-INF location. 
  3. Paste the backup 

    quartz.properties

    cacert file (that you had saved as a backup) at the ...

    /

    <AdeptiaInstallFolder>

    /

    \AdeptiaServer

    /

    \ServerKernel

    /etc location. In case you are using MySQL as Backend and Log database and you have done the manual changes, then follow the below step:
    Paste the backup
     server-configure.properties 
    (that you had saved as a backup) at the .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc location. 

    \etc\truststore location.