Install the Patch on Middle Tier

After you extract the contents of the patch set file and install the patch on the database tier, you can install the patch on the middle tier.

To install the patch on the middle tier:
  1. Before you apply the patch, take a backup of the HDR FHIR 8.2/8.2.0.1 war file (oracle-fhir-server.war) in case you want to revert.
  2. Navigate to the WebLogic Web administration interface and undeploy the HDR FHIR WAR module to remove it.
  3. Extract the contents of p36980569_HDR_82020_Generic.zip to a directory on the middle tier.
  4. Ensure that HDR FHIR DataSource (FhirDataSource) with corresponding jndi name (jdbc/FhirDataSource) is already created and pointing to the new HDR FHIR 8.2.0.2 database schema.
  5. Stop HDR FHIR WebLogic managed server.
  6. Copy the <hdr8202_patch_dir>/server/hdr_fhir.yaml to <fhir_domain>/config/fhir.
  7. Copy the <hdr8202_patch_dir>/server/log4j2.properties to <fhir_domain>/config/fhir.
  8. Ensure that the following JVM argument under JAVA_OPTIONS are properly configured in the startManagedWebLogic.sh file (for example: $WL_HOME/user_projects/domains/fhir_domain/bin/startManagedWebLogic.sh).
    1. -Dlogging.config=$DOMAIN_HOME\config\fhir\log4j2.properties
    2. -Dhdr_fhir_config_location=$DOMAIN_HOME\config\fhir\hdr_fhir.yaml
      Example:
      JAVA_OPTIONS="-Dhdr_fhir_config_location=$DOMAIN_HOME/config/fhir/hdr_fhir.yaml -Dlogging.config =$DOMAIN_HOME/config/fhir/log4j2.properties ${JAVA_OPTIONS}" && export JAVA_OPTIONS
  9. Start the FHIR WebLogic managed server.
  10. Deploy the new version of the HDR FHIR war (oracle-fhir-server.war) module as follows:
    1. Navigate to the WebLogic Web administration interface.
    2. Select Local packaged file or directory that is accessible from the Application Server.
    3. Browse to the <hdr8202_patch_dir> directory where you extracted the patch file (oracle-fhir-server.war) to select and deploy the FHIR war file.