Could not initialize class com.ca.siteminder.SiteMinderLowLevelAgent after upgrade GW 10 CR2

book

Article ID: 207839

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

We are seeing below exception from siteminder configuration but configuration validation passed from configuration section. This issue is happening after V10 upgrade. Could you please help us on this issue.?

PolicyManager Log:

                <l7:policyResult
                    status="Could not initialize class com.ca.siteminder.SiteMinderLowLevelAgent" xmlns:l7="http://www.layer7tech.com/ws/policy/fault"/>
            </detail>

Server Log:

  • 2021-02-02T16:29:33.921-0600 SEVERE 2401 com.l7tech.server.SoapMessageProcessingServlet: Could not initialize class com.ca.siteminder.SiteMinderLowLevelAgent
  • java.lang.NoClassDefFoundError: Could not initialize class com.ca.siteminder.SiteMinderLowLevelAgent
  • at com.l7tech.server.siteminder.SiteMinderConfigurationManagerImpl.a(Unknown Source)
  • at com.l7tech.server.siteminder.SiteMinderConfigurationManagerImpl.getSiteMinderLowLevelAgent(Unknown Source)
  • at sun.reflect.GeneratedMethodAccessor1451.invoke(Unknown Source)
  • at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  • at java.lang.reflect.Method.invoke(Method.java:498)
  • at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  • at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  • at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  • at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  • at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  • at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  • at com.sun.proxy.$Proxy135.getSiteMinderLowLevelAgent(Unknown Source)

 

Cause

After appliig the CA_SSO_SDK_Compact_v12.8.03.L7P from the GW 10 CR02 package the folder /opt/CA is now empty
This issue is a BAD package for SSO in GW10 CR 2. the package in CR2 to is 225k the package in CR1 is 171564k

 

Environment

Release : 10.0

Component : API GATEWAY

Resolution

The following solution is only applied to Virtual Appliance of Gateway installation 

If reverting SNAPSHOT (recommended) is not an option then download & apply CR01 SSO SDK package following the proceed below: 

Workaround 

I attacked the version check file (ca-sdk-version.info)

Contents of ca-sdk-version.info

ProductName=CA SiteMinder SDK
FullVersion=12.52.109.2614
Location=/opt/CA/sdk

Steps 

1. Download & Copy the CR01 SSO version  CA_SSO_SDK_Compact_v12.8.03.L7P  (171564K) to /home/ssgconfig

# chmod 755 /home/ssgconfig/CA_SSO_SDK_Compact_v12.8.03.L7P

2. Remove the previous CR2 patch status 

# rm /opt/SecureSpan/Controller/var/patches/CA_SSO_SDK_Compact_v12.8.03.status

3. Need to create the following folder structure and copy the file ca-sdk-version.info into it 

# mkdir -p /opt/CA/sdk/install_config_info/

# chmod -R 775 /opt/CA

4. Using SSGCONFIG Menu

Select option 8 "Display Patch Management menu

Select option 1 "Upload a patch to the Gateway"  - select the patch from step 1

Select option 2 "Install a patch onto the Gateway" - select the patch uploaded

REBOOT

Attachments

1612392828047__ca-sdk-version.info get_app