Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-6206

Since OPENAM-4646 there is a subtle change in the classpath of ssoadm command on Unix

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 12.0.0, 12.0.1, 13.0.0
    • Fix Version/s: 12.0.3, 13.0.0
    • Component/s: CLI
    • Labels:
    • Sprint:
      Sprint 83 - Sustaining

      Description

      Since OPENAM-4646, the classpath of the ssoadm command on Unix has changed to have the main lib directory jars before the classes and resources directories.

      This means for example that any patched ssoadm classes copied into the classes directory won't be picked up since the classes directory comes latter in the path.

      This does not impact the ssoadm.bat version.

      Current:

      CLASSPATH="@CONFIG_DIR@"
      CLASSPATH="${CLASSPATH}:${LIB_CP}"
      CLASSPATH="$CLASSPATH:$TOOLS_HOME/classes:$TOOLS_HOME/resources"
      

      Should be:

      CLASSPATH="@CONFIG_DIR@"
      CLASSPATH="$CLASSPATH:$TOOLS_HOME/classes:$TOOLS_HOME/resources"
      CLASSPATH="${CLASSPATH}:${LIB_CP}"
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                markdr Mark de Reeper
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h