Versions Compared

Key

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

Table of Contents

Introduction

SOS provides JS7 - Patches in a situation of severe bugs or Vulnerabilities.

  • Bugs, vulnerabilities and patches are communicated with the SOS Change Management System.
  • Find below the information how to apply patches to a JS7 Controller.

Apply Patch On Premises

The Controller expects Java .jar libraries for patches from the following location:

...

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 then steps are performed for any Controller instance.

The examples makes use of a patch available from https://download.sos-berlin.com/patches/sos_ldap_for_2.2.2_patch.jar. Do not apply this patch that is used for explanation purposes only.


Code Block
languagebash
titleExample how to apply a patch to a Controller for Unix
linenumberstrue
# 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-sos_ldap_for_2.2.2_2patch.2.3.jar -O
Code Block
languagebash
titleExample how to apply a patch to a Controller for Windows
linenumberstrue
# 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-sos_ldap_for_2.2.2_2patch.2.3.jar
# copy from download location (could be different from this example)
copy %USERPROFILE%\Downloads\patch-20220309-JOC-1256-sos_ldap_for_2.2.2_2patch.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.

...

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

Apply Patch to Docker® Containers

The Controller container expects Java .jar libraries for patches from the following location:


Apply Patch

Remove Patch

Patches have to be manually removed by dropping the files in the patches sub-directory that holds the patch archives.

...