You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

SOS provides patches in a situation of severe bugs or Vulnerabilities.

  • Bugs, vulnerabilities and patches are communicated with our Change Management System.
  • Patches are provided per release. The corresponding fixes are integrated with the next maintenance release or with the next minor release.
    • For vulnerabilities in 3rd-party components the Change Management System indicates where to download the patch and how to apply the patch.
    • For severe bugs in JS7 components SOS provides patches that are available for download from the issue description.
  • Find below the information how to apply patches for the respective JS7 components.

Apply Patch On Premises

The Controller expects Java .jar libraries for patching in the following location:

  • Unix
    • /opt/sos-berlin.com/js7/controller/lib/patches
  • Windows
    • C:\Program Files\sos-berlin.com\js7\controller\<controller-id>\lib\patches

The <controller-id> part of the above path is specified during installation and defaults to controller, this can point to a different location. The remaining part lib/patches is the same for any installation.

Apply Patch

Apply the following steps to a Controller instance. If a Controller cluster is operated the steps are performed for any Controller instance.


Example how to apply a patch to a Controller for Unix
# navigate to the target directory for patches
cd /opt/sos-berlin.com/js7/controller/lib/patches

# download the patch archive
curl https://download.sos-berlin.com/patches/patch-20220309-JOC-1256-2.2.2_2.2.3.jar -O
Example how to apply a patch to a Controller for Windows
# navigate to the target directory for patches
cd %ProgramFiles%\sos-berlin.com\js7\controller\<controller-id>\lib\patches

# download from URL https://download.sos-berlin.com/patches/patch-20220309-JOC-1256-2.2.2_2.2.3.jar
# copy from download location (could be different from this example)
copy %USERPROFILE%\Downloads\patch-20220309-JOC-1256-2.2.2_2.2.3.jar .


Note: A restart of the Controller instance is required to apply the patch.

Remove Patch

Patches are automatically removed when a Controller release is installed using the JS7 - Controller - Installation Using the Windows Graphical Installer.

Patches can be manually removed by dropping the files in the patches sub-directory that holds the extracted patch. 

Note: A restart of the Controller is required to apply removal of patches.

Apply Patch to Docker Containers


  • No labels