[SiteMinder] Uninstall of R12.8.05 policy server fails to start with java error.

book

Article ID: 210379

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

After install of the policy server R12.8.05 we find that the uninstall did not work and gave an error (screenshot to follow). 

 

The uninstall for R12.8.03 did work correctly. 

    Error: Count not create the Java Virtual Machine 
    Error: A fatal exception has occurred. Program will exit.

D:\Apps\CA\siteminder\install_config_info\ca-ps-uninstall\

uninstall.exe

From process monitor : 

PID: 3620, Command line: "D:\Apps\CA\siteminder\install_config_info\ca-ps-uninstall\..\install_config_jre\bin\javaw.exe" --add-opens java.base/jdk.internal.loader=ALL-UNNAMED -Dsun.java2d.uiScale.enabled=false -Xms16777216 -Xmx201326592 -classpath "D:\Apps\CA\siteminder\install_config_info\ca-ps-uninstall\;D:\Apps\CA\siteminder\install_config_info\ca-ps-uninstall\InstData\Execute.zip;D:\Apps\CA\siteminder\install_config_info\ca-ps-uninstall\uninstaller.jar;D:\Apps\CA\siteminder\install_config_info\ca-ps-uninstall\resource;D:\Apps\CA\siteminder\install_config_info\ca-ps-uninstall\uninstallerResources.zip;" com.zerog.lax.LAX "D:/Apps/CA/siteminder/install_config_info/ca-ps-uninstall/uninstall.lax" "C:/Users/<user>/AppData/Local/Temp/3/laxF9D9.tmp" 

 

 

When we dig into the process monitor we see that java is being started with the unknown option:    --add-opens 

It seems this is a (new)  java 9 attribute,  
https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-7BB28E4D-99B3-4078-BDC4-FC24180CE82B

The policy server has it's own JDK that it installed - for use in uninstall:
   D:\Apps\CA\siteminder\install_config_info\install_config_jre 

But it is JDK8. so the uninstall does not recognise the --add-opens option and gives an error rather than starting the java uninstall program.  

We remove the --add-options , and start the java command from DOS shell and the uninstall starts correctly. 

Cause

Customer had extra jar files in the "<siteminder>\install_config_info\install_config_jre\lib\ext" folder.

In OOTB installation, this "ext" folder do not exist.

Environment

Release : 12.8.05

Component : Policy Server

Resolution

Renamed "<siteminder>\install_config_info\install_config_jre\lib\ext" to "<siteminder>\install_config_info\install_config_jre\lib\x-ext" and the uninstaller launched without problem.

This "ext" folder was added by customer for their purpose which interfered with the uninstall.