Unable To Apply Multiple Patches Having Common Class Files in ORPOS 14.0.x (Doc ID 1955360.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Point-of-Service - Version 14.0.1 and later
Information in this document applies to any platform.

Symptoms

In Oracle Retail Point of Service (ORPOS) 14.0.x, when adding multiple patches having common Java classes in the /patches folder under store server or client, the application picks up the class in the older patch.  It should pick up the class in latest patch.

Steps to Reproduce:

  1. Place two patches P001.jar and P002.jar in the Patches folder under store server or client.
  2. Start store server or client where you placed the patches.
  3. Check the Classpath.log to find out that the jars are referenced in ascending order of last modified date (e.g., P001.jar then P002.jar).  This is why the application is picking up Java class from the oldest patch.
  4. It is expected that version 14.0.x will write patches in class path in descending order by last modified date, so the application will pick up the latest changes.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms