R12.8 ASA Agent host registration fails after installation
search cancel

R12.8 ASA Agent host registration fails after installation

book

Article ID: 260213

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

Getting error while registering SmHost.conf file after ASA 12.8 installation:

[[email protected] bin]# /opt/IBM/WebSphere/Netegrity/smwasasa/bin/smreghost.sh -i XXX -u XXX -p XXX -hn XXX -hc XXX -f /opt/IBM/WebSphere/Netegrity/smwasasa/conf/SmHost.conf -o

Exception in thread "main" java.lang.NoClassDefFoundError: com.ca.sso.smcrypto.SmCryptoLibException

        at com.ca.siteminder.sdk.agentapi.connection.i.a(smagentapi_obfsc:169)
        at com.ca.siteminder.sdk.agentapi.connection.h.aK(smagentapi_obfsc:369)
        at com.ca.siteminder.sdk.agentapi.connection.h.h(smagentapi_obfsc:304)
        at com.ca.siteminder.sdk.agentapi.connection.h.aq(smagentapi_obfsc:235)
        at com.ca.siteminder.sdk.agentapi.connection.c.aq(smagentapi_obfsc:646)
        at com.ca.siteminder.sdk.agentapi.connection.a.a(smagentapi_obfsc:159)
        at com.ca.siteminder.sdk.agentapi.connection.a.b(smagentapi_obfsc:71)
        at com.ca.siteminder.sdk.agentapi.e.a(smagentapi_obfsc:129)
        at com.ca.siteminder.sdk.agentapi.SmRegHost.init(smagentapi_obfsc:577)
        at com.ca.siteminder.sdk.agentapi.SmRegHost.register(smagentapi_obfsc:395)
        at com.ca.siteminder.sdk.agentapi.SmRegHost.main(smagentapi_obfsc:323)
Caused by: java.lang.ClassNotFoundException: com.ca.sso.smcrypto.SmCryptoLibException
        at java.net.URLClassLoader.findClass(URLClassLoader.java:607)
        at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:846)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:825)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:805)

Environment

Release : 12.8

WAS : 9.0

Cause

While executing the smreghost.sh for ASA host registration fails because of the missing the actual JAVA_HOME in the smreghost.sh file of ASA agent.

Example :- 

export JAVA_HOME=/opt/IBM/WebSphere/AppServer/java/8.0/jre

Resolution

Resolution steps

-> export JAVA_HOME= < JAVA HOME Location>

Example :

export JAVA_HOME=/opt/IBM/WebSphere/AppServer/java/8.0/jre

->Installed the R12.8 ASA agent for WAS under the desired location.

Note : Installation of ASA agent should be with the same user as the WAS user and also give full privilege's for ASA agent installer if this is for Linux installation.

Provide the installation path as example location : /opt/IBM/WebSphere/Netegrity/smwasasa

and continue with next configuration details and complete the installation.

->Navigate to ASA home location and bin directroy. Modify the smreghost.sh with the actual java being used for ASA agent as below.

-> Execute the smregshost.sh for host registration and it is should be successful.

-> Start WAS application server services and see the TAI agent has started successfully.

 

Attachments