Versions Compared

Key

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

...

Introduction


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

...

  • Unix
    • /var/sos-berlin.com/js7/joc/jetty_base/webapps/joc/WEB-INF/classes
  • Windows
    • C:\ProgramData\sos-berlin.com\js7\joc\jetty_base\webapps\joc\WEB-INF\classes

The JETTY_BASE first part of the above path is including jetty_base is specified during installation and can point to a different location. The remaining part webapps/joc/WEB-INF/classes is the same for any installation.

...

The resulting directory hierarchy should look like this ( with the com sub-directory being created from the extracted patch )should look like this:

  • webapps/joc/WEB-INF/classes
    • com
      • sos
        • ...

...

  • /var/sos-berlin.com/js7/joc/jetty_base/resources/joc/patches
  • The directory /var/sos-berlin.com/js7/joc/jetty_base/resources/joc typically is mounted to a Docker config volume when running the container: for details see JS7 - JOC Cockpit Installation for Docker Containers. The patches sub-directory should be created if it does not already exist before storing the patch file to this location.

Apply Patch

On startup start-up the JOC Cockpit container checks the above directory for existence of *.jar files. If a file is found then

...