Required Linux Libraries for Linux OS RHEL7
search cancel

Required Linux Libraries for Linux OS RHEL7

book

Article ID: 186232

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) SITEMINDER

Issue/Introduction


We're running a Web Agent Option Pack and when we try to reach the

application in the browser, we get the error :

  HTTP Status 500 Internal Server Error
  
  Type Exception Report

  Message Servlet.init() for servlet [saml2sso] threw exception
  Description The server encountered an unexpected condition that
  prevented it from fulfilling the request.  Exception
  javax.servlet.ServletException: Servlet.init() for servlet
  [saml2sso] threw exception
  org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)

  [...]

  java.lang.UnsatisfiedLinkError:
   netegrity.siteminder.javaagent.AgentAPI.javaagent_api_getConfig(Lnetegrity/siteminder/javaagent/InitDef;Ljava/lang/String;Ljava/lang/String;)I
   netegrity.siteminder.javaagent.AgentAPI.javaagent_api_getConfig(Native
   Method)
   netegrity.siteminder.javaagent.AgentAPI.getConfig(Unknown
   Source)

  Apache Tomcat/9.0.7.redhat-16

How can we fix that ?

Environment


  Web Agent Option Pack 12.52SP1CR10 on Apache Tomcat 9 64bit on RedHat 7;

Cause


Running command 


  # yum list installed

we can se that you have all required packages :

  libstdc++-4.8.3-9.el7.x86_64
  libidn-1.28-3.el7.x86_64
  libXext-1.3.2-2.1.el7.x86_64
  libXrender-0.9.8-2.1.el7.x86_64
  libidn.x86_64
  libXtst-1.2.2-2.1.el7.x86_64
  ncurses-5.9-13.20130511.el7.x86_64
  ncurses-libs-5.9-13.20130511.el7.x86_64
  ncurses-base-5.9-13.20130511.el7.x86_64

as per yum output

  libstdc++.x86_64
  libidn.x86_64
  libXext.x86_64
  libXrender.x86_64
  libXtst.x86_64
  ncurses.x86_64
  ncurses-base.noarch
  ncurses-libs.x86_64

And running command to list all your file system :

  # ls -Rltrha / > ls.txt

The file system shows that the affwebservices.war is empty file in the
Tomcat/webapps :

ls.txt :

/opt/CA/webagent_optionpack/affwebservices:

-rw-r--r--.  1 root root  31M Feb  5 19:06 affwebservices.war

/opt/tomcat9/webapps:

-rw-r--r--.  1 root  root    0 Feb 27 17:34 affwebservices.war

Documentation request to set the affwebservices.war in the Tomcat
folder :

  Deploy the FWS Application on JBoss or Tomcat

    Copy the affwebservices.war file to the appropriate server location:

    Tomcat
    Tomcat_home/webapps
    Tomcat_home is the installed location of the Tomcat application server.

  https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-identity-and-access-management/single-sign-on/12-52-01/installing/install-agents/web-agent-option-pack/deploy-federation-web-services/set-up-jboss-or-tomcat-to-work-with-federation-web-services.html

Resolution


Make sure that the affwebservices.war has the content of the

/webagent_option_pack/affwebservices/ 

Make sure that the affwebservices.war on the Tomcat server is not an
empty file;

Start Tomcat and fiddler and run the browser to reach the following URL using the FQDN and not just the hostname :

  http://myserver.mydomain.com:8080/affwebservices/assertionretriever