error: NoClassDefFoundError FinalArrayList in Policy Server
search cancel

error: NoClassDefFoundError FinalArrayList in Policy Server

book

Article ID: 271941

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

 

Integrating a Custom Authentication Scheme which uses Arcot code, the Policy Server fails to load it and report the error:

[354580/139763059255040][Fri Aug 04 2023 14:09:32.321][SmAuthServer.cpp:364][INFO][sm-Server-02760] Initialized authentication scheme Custom Example
[354580/139763042469632][Fri Aug 04 2023 14:09:34.396][AssertionGenerator.java][ERROR][sm-FedServer-00090] AssertionHandler process() throws exception: java.lang.Exception: java.lang.Exception: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList
          at com.netegrity.assertiongenerator.saml2.TxmAuthnRequestExtension.processRequest(TxmAuthnRequestExtension.java:777)
          at com.netegrity.assertiongenerator.saml2.AssertionHandlerTxMSAML20.process(AssertionHandlerTxMSAML20.java:193)
          at com.netegrity.assertiongenerator.AssertionGenerator.invoke(Unknown Source)
          at com.netegrity.policyserver.smapi.ActiveExpressionContext.invoke(ActiveExpressionContext.java:282)
  Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: com/sun/istack/FinalArrayList

Environment

 

  Policy Server 12.8SP7 on RedHat 7;
  SDK Custom Agent 12.8SP7 on Tomcat 9.0.62 on RedHat 7;
  Advanced Authentication 9.1.0.1;

 

Resolution

 

  • Add "{home_policy_server}/bin/thirdparty/istack-commons-runtime.jar" to -Djava.class.path in the JVMOptions.txt;
  • Restart the Policy Server;