Error: smconsole with AdoptOpenJDK SmConsoleAPI.java_api_init()Z
search cancel

Error: smconsole with AdoptOpenJDK SmConsoleAPI.java_api_init()Z

book

Article ID: 223815

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign-On

Issue/Introduction

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

OpenJDK 64-Bit Server VM warning: You have loaded library /{home_policy_server}/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 a Policy Server 12.52 old libraries.

Resolution

Setting the environment variables for the Policy Server to the current Policy Server version solved the issue.