Error : smconsle with AdoptOpenJDK SmConsoleAPI.java_api_init()Z

book

Article ID: 223815

calendar_today

Updated On:

Products

CA Single Sign On SOA Security Manager (SiteMinder) SITEMINDER

Issue/Introduction

 

When running smconsole, the console doesn't show up and the command
reports error :

    OpenJDK 64-Bit Server VM warning: You have loaded library
    /opt/software/ca/siteminder125/lib/libjavasmconsoleapi.so which might
    have disabled stack guard. The VM will try to fix the stack guard now.

    It's highly recommended that you fix the library with 'execstack -c
    <libfile>', or link it with '-z noexecstack'.

    Couldn't load javasmconsoleapi

    Exception in thread "main" java.lang.UnsatisfiedLinkError:
    com.netegrity.sm.smconsole.services.SmConsoleAPI.java_api_init()Z

    at com.netegrity.sm.smconsole.services.SmConsoleAPI.java_api_init(Native Method)
    at com.netegrity.sm.smconsole.services.SmConsoleAPI.init(SmConsoleAPI.java:60)
    at com.netegrity.sm.smconsole.ServerConnection.create(ServerConnection.java:39)
    at com.netegrity.sm.smconsole.SettingsBean.<init>(SettingsBean.java:30)
    at com.netegrity.sm.smconsole.SmConsoleImpl.initSettings(SmConsoleImpl.java:562)
    at com.netegrity.sm.smconsole.SmConsoleImpl.<init>(SmConsoleImpl.java:55)
    at com.netegrity.sm.smconsole.SmConsoleImpl.main(SmConsoleImpl.java:47)
    at com.netegrity.sm.smconsole.SmConsole.main(SmConsole.java:19)

Cause

 

Environment variables are pointing to 12.52 old libraries;

 

Environment

 

  Policy Server 12.8SP3 on RedHat;
    AdoptOpenJDK jdk8u252-b09;

 

Resolution

 

Setting the environment variables to the current Policy Server version
solved the issue;