Recovering Connect Server patch AC v3.7.2

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.

Prerequisites

  • 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

 For 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-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.
 For Linux
  1. Open the Terminal.
  2. Go to the directory from where you applied the patch.
  3. Run the following command to recover the patch:

    ./Recover-Patch.sh <Path where Adeptia Connect is installed till AdeptiaServer folder> 

    For example:
    ./Recover-Patch.sh /mnt/AdeptiaConnect-x.x/AdeptiaServer 

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

Post recovery steps

After recovery of this patch, you need to perform the following steps manually :

  1. Copy the web.xml file (that you had saved as a backup) and paste it at <ConnectServerInstallFolder>/AdeptiaServer/ServerKernel/web/WEB-INF location.
  2. Copy the jetty.xml file (that you had saved as a backup) and paste it at <ConnectServerInstallFolder>/AdeptiaServer/ServerKernel/etc/jetty location.
  3. Copy the webdefault.xml file (that you had saved as a backup) and paste it at <ConnectServerInstallFolder>/AdeptiaServer/ServerKernel/web/WEB-INF location.
  4. Copy the launcher.properties file (that you had saved as a backup) and paste it at <ConnectServerInstallFolder>/AdeptiaServer/ServerKernel/etc location.