search cancel

Error : getAllFilesFromDirTree Unknown Source Policy Server upgrade

book

Article ID: 229592

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

 

When running a Policy Server installer to upgrade Policy Server 12.7
to 12.8SP6, the upgrade process fails and the Policy Server keeps
showing being 12.7 version.

The installer log reports error :

  Message: The specified parameter is NOT a directory:
  /java/jre1.8.0_161 Cause: null Exception Stack :
  
  [com.zerog.common.java.io.FileUtil.getAllFilesFromDirTree(Unknown Source)

 

Cause

 

At first glance, the Policy Server upgrader fails because the provided
JVM is still the old 1.8.0_161 version. As per documentation, the
In-place upgrade needs the AdoptOpenJDK release (1).

More, according to our Support Matrix, Policy Server 12.8SP6 needs
AdoptOpenJDK 11 (2).

The AdminUI has been upgrade, but the Policy Server is still on the
former version :

Screenshot.png

  Error Administrative Console (Version 12.80.0600.2649) mismatches
  the Policy Server (Version 12.70.0000.1194).
As the .info and smps.log file reflects still the 12.7 version, this
means that the upgrade didn't work at all.
  

ca-ps-version.info :


  
  ProductName=CA Single Sign-On Policy Server
  FullVersion=12.70.0.1194
  Location=/opt/CA/siteminder

smps.log :


  
  [4440/139812264838976][Tue Nov 30 2021 12:58:01][SmEventTrap.cpp:388][INFO]
  [sm-Server-02500] Loading event handler '/opt/CA/siteminder/lib/libXPSAudit.so'
  
  [4440/139812264838976][Tue Nov 30 2021 12:58:01][SmEventTrap.cpp:402][INFO]
  [sm-Server-02510] Initializing event handler '/opt/CA/siteminder/lib/libXPSAudit.so'
  
  [4440/139812264838976][Tue Nov 30 2021 12:58:01][CServer.cpp:4068][INFO]
  [sm-Server-03540] Product: SiteMinder Policy Server
  
  [4440/139812264838976][Tue Nov 30 2021 12:58:01][CServer.cpp:4069][INFO]
  [sm-Server-03550] Version: 12.7; Update: 00.00; Build: 1194; CR: 00;
  
  [4440/139812264838976][Tue Nov 30 2021 12:58:01][CServer.cpp:4249][INFO]
  [sm-Server-02110] Product=Policy Server,Platform=Linux 3.10.0-1160.49.1.el7.x86_64,
  Version=12.7,Update=00.00,Label=1194,Crypto=128,UTC=1638269881,TZ=2

The Policy Server installer fails early when detecting jvm version
1.8.0_161 :


  
Symantec_SiteMinder_Policy_Server_Install_*.log :


  
  NETE_JRE_ROOT=/usr/java/jre1.8.0_161

  Check Disk Space:         /root/CA
                          Status: SUCCESSFUL
                          Additional Notes: NOTE - Required Disk Space:849,075,417 Bytes Free Disk Space:10,600,820,736 Bytes 

  Message: The specified parameter is NOT a directory:
  /java/jre1.8.0_161 Cause: null Exception Stack :
  
  [com.zerog.common.java.io.FileUtil.getAllFilesFromDirTree(Unknown
  Source),
  com.netegrity.brlib.customcode.CheckJavaVersion.verifyJavaType(Unknown
  Source),
  com.netegrity.brlib.customcode.CheckJavaVersion.install(Unknown
  Source),
  com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown
  Source), com.zerog.ia.installer.AAMgrBase.an(Unknown Source),
  com.zerog.ia.installer.ConsoleBasedAAMgr.ac(Unknown Source),
  com.zerog.ia.installer.AAMgrBase.am(Unknown Source),
  com.zerog.ia.installer.AAMgrBase.runNextInstallPiece(Unknown
  Source), com.zerog.ia.installer.ConsoleBasedAAMgr.ac(Unknown
  Source), com.zerog.ia.installer.AAMgrBase.am(Unknown Source),
  com.zerog.ia.installer.AAMgrBase.runNextInstallPiece(Unknown
  Source), com.zerog.ia.installer.ConsoleBasedAAMgr.ac(Unknown
  Source), com.zerog.ia.installer.AAMgrBase.am(Unknown Source),
  com.zerog.ia.installer.AAMgrBase.runNextInstallPiece(Unknown
  Source), com.zerog.ia.installer.ConsoleBasedAAMgr.ac(Unknown
  Source), com.zerog.ia.installer.AAMgrBase.am(Unknown Source),
  com.zerog.ia.installer.AAMgrBase.runNextInstallPiece(Unknown
  Source), com.zerog.ia.installer.ConsoleBasedAAMgr.ac(Unknown
  Source), com.zerog.ia.installer.AAMgrBase.am(Unkno
  
    os.arch = amd64
    os.name = Linux
    os.version = 3.10.0-1160.49.1.el7.x86_64


    Executable command: /usr/java/jre1.8.0_161/bin/java -XshowSettings:properties -version

 

Resolution

 

- Install and configure the system to use AdoptOpenJDK 11 and replay
  the Policy Server upgrade to solve this issue;

 

Additional Information

 

(1)

    Install a 64-Bit JRE

      Verify that a supported 64-bit JRE is installed on the Policy Server
      host system. From Release 12.8.03, use AdoptOpenJDK HotSpot JVM. For
      other previous releases, use Oracle JDK. See Platform Support Matrix
      for information about the supported Java version.

    https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/siteminder/12-8/upgrading/in-place-upgrade/upgrade-policy-server.html  

(2)

    2.4 Java Virtual Machine (JVM)

    The following table lists the Java Virtual Machine (JVM) support
    requirements for release 12.8.06:

      | SiteMinder Component | Java Runtime Environment                          |
      |----------------------+---------------------------------------------------|
      | Policy Server        | AdoptOpenJDK 11 (or later updates on 11.x) 64 bit |
      |                      |                                                   |

    https://ftpdocs.broadcom.com/cadocs/0/contentimages/Symantec%20SiteMinder_12_8_Platform%20Support%20Matrix_23Nov2021.pdf