Alok
Are you sure you are using Tomcat7 and not Tomcat8 - just being overcautious and asking because the subject line suggested Tomcat8 whereas your last comment suggested Tomcat7. Check Support Matrix.
What Version is the Policy Server you are connecting too?
I just installed WAOP on TOMCAT7 and it works fine if we follow the WiKi steps. In your Environment, it looks like the NAMEID Servlet did not get initialized.
My Setup Info
Machine-1 :
- RHEL6 64bit,
- Tomcat7 32bit,
- jdk1.7.0_79 32bit (with JCE applied),
- ca-wa-opack-12.52-sp01-cr02-linux.bin
- Tomcat7 and WAOP use the same JAVA_HOME Environment Variable i.e. /programfiles/java/jdk1.7.0_79
- Install JDK, Apply JCE Path, Set JAVA_HOME, Stop and Start Tomcat7, Check Startup logs whether the JDK Path has been picked.
Machine-2 :
- RHEL6 64bit,
- jdk1.7.0_79 32bit (with JCE applied),
- Policy Server R12.52 SP1 CR02.
On your question of JCE. Download from here and then there are notes within the zip file on how to apply them over JDK.
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 Download
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for JDK/JRE 8 Download
TOMCAT7 STARTUP LOG
[root@server bin]# ./startup.sh
Using CATALINA_BASE: /F6/apache-tomcat-7.0.23
Using CATALINA_HOME: /F6/apache-tomcat-7.0.23
Using CATALINA_TMPDIR: /F6/apache-tomcat-7.0.23/temp
Using JRE_HOME: /programfiles/java/jdk1.7.0_79
Using CLASSPATH: /F6/apache-tomcat-7.0.23/bin/bootstrap.jar:/F6/apache-tomcat-7.0.23/bin/tomcat-juli.jar
TOMCAT7 CATALINE LOG
[root@server logs]# more catalina.2015-11-16.log
Nov 16, 2015 12:55:55 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /programfiles/CA/webagent_optionpack/b
in:/programfiles/CA/webagent_optionpack/bin/thirdparty::/usr/java/packages/lib/i386:/lib:/usr/lib
Nov 16, 2015 12:55:55 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Nov 16, 2015 12:55:55 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Nov 16, 2015 12:55:55 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 876 ms
Nov 16, 2015 12:55:55 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Nov 16, 2015 12:55:55 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
Nov 16, 2015 12:55:55 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /F6/apache-tomcat-7.0.23/webapps/affwebservices.war
Nov 16, 2015 12:55:58 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31 PM'
Nov 16, 2015 12:55:58 PM com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder <init>
INFO: Instantiated the Application class org.odata4j.jersey.producer.resources.ODataApplication
Nov 16, 2015 12:55:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /F6/apache-tomcat-7.0.23/webapps/manager
Nov 16, 2015 12:56:00 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /F6/apache-tomcat-7.0.23/webapps/host-manager
Nov 16, 2015 12:56:00 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /F6/apache-tomcat-7.0.23/webapps/examples
Nov 16, 2015 12:56:00 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /F6/apache-tomcat-7.0.23/webapps/ROOT
Nov 16, 2015 12:56:00 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /F6/apache-tomcat-7.0.23/webapps/docs
Nov 16, 2015 12:56:00 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Nov 16, 2015 12:56:00 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 16, 2015 12:56:00 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4575 ms
FWSTRACE LOG
[root@server log]# more FWSTrace.log
[Date][Time][Pid][Tid][TransactionID][SrcFile][Function][Message]
[====][====][===][===][=============][=======][========][=======]
[11/16/2015][12:55:57][8348][2932185968][][FWSConfigurationManager.java][initializeResourceDirectory][Product Release is WA-OP - setting resource path]
[11/16/2015][12:55:57][8348][2932185968][][FWSConfigurationManager.java][initializeResourceDirectory][resourcePath: /programfiles/CA/webagent_optionpack/resources]
[11/16/2015][12:55:57][8348][2932185968][][FWSConfigurationManager.java][initializeResourceDirectory][setResourceDirectory result: 1]
[11/16/2015][12:55:57][8348][2932185968][][FWSConfigurationManager.java][initializeResourceDirectory][Setting the resource directory succeeded]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][There are doManagement messages]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][Obtaining agent keys from the Policy Server]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][The persistent key for the agent is being set]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][The last key for the agent is being set]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][The current key for the agent is being set]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][The next key for the agent is being set]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][The Configuration Management thread was sucessfully created ]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][Parsing data for Agent Config Object Name "wac_waop"]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][Completed parsing data for Agent Config Object Name "wac_waop"]
[11/16/2015][12:55:58][8348][2932185968][][ManageNameIDService.java][doInitLog][------------------------------------------------]
[11/16/2015][12:55:58][8348][2932185968][][ManageNameIDService.java][doInitLog][SAML2 NameID Management Service Initialization.]
[11/16/2015][12:55:58][8348][2932185968][][ManageNameIDService.java][doInitLog][------------------------------------------------]
[11/16/2015][12:55:58][8348][2932185968][][FWSBase.java][init][Fips140Mode = 1]
[11/16/2015][12:55:58][8348][2932185968][][CustomPostPageCache][init][Initializing CustomPostPageCache]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][Requesting data for ConfigManager ID /programfiles/CA/webagent_optionpack/bin/SmHost.conf and SmAgentConfig ID /programfiles/CA/w
ebagent_optionpack/bin/WebAgent.conf]
[11/16/2015][12:55:58][8348][10521456][][CustomPostPageCache][performUpdate][Checking for updates]
[11/16/2015][12:55:58][8348][2932185968][][agentcommon][][Administration Manager is returning data for ConfigManager ID /programfiles/CA/webagent_optionpack/bin/SmHost.conf and SmAgentCon
fig ID /programfiles/CA/webagent_optionpack/bin/WebAgent.conf]
[11/16/2015][12:55:58][8348][10521456][][CustomPostPageCache][performUpdate][No custom pages cached.]
[11/16/2015][12:55:58][8348][2932185968][][ManageNameIDService.java][init][SAML2 NameID Management Service has been successfully initialized.]
[11/16/2015][12:55:58][8348][2932185968][][ManageNameIDService.java][init][Manage NameID Asynchronous processing thread is not enabled in Affwebservices.properties]
[11/16/2015][12:56:28][8348][8854384][][agentcommon][][The Configuration Management thread is calling doManagement()]
[11/16/2015][12:56:28][8348][8854384][][agentcommon][][There are doManagement messages]
[11/16/2015][12:56:58][8348][8854384][][agentcommon][][The Configuration Management thread is calling doManagement()]
[11/16/2015][12:56:58][8348][8854384][][agentcommon][][There are doManagement messages]
[11/16/2015][12:56:58][8348][10521456][][CustomPostPageCache][performUpdate][Checking for updates]
[11/16/2015][12:56:58][8348][10521456][][CustomPostPageCache][performUpdate][No custom pages cached.]
[11/16/2015][12:57:28][8348][8854384][][agentcommon][][The Configuration Management thread is calling doManagement()]
[11/16/2015][12:57:28][8348][8854384][][agentcommon][][There are doManagement messages]
[11/16/2015][12:57:58][8348][8854384][][agentcommon][][The Configuration Management thread is calling doManagement()]
[11/16/2015][12:57:58][8348][8854384][][agentcommon][][There are doManagement messages]
[11/16/2015][12:57:58][8348][10521456][][CustomPostPageCache][performUpdate][Checking for updates]
[11/16/2015][12:57:58][8348][10521456][][CustomPostPageCache][performUpdate][No custom pages cached.]
[11/16/2015][12:57:59][8348][2932517744][][AssertionRetriever.java][doInitLog][---------------------------------------------]
[11/16/2015][12:57:59][8348][2932517744][][AssertionRetriever.java][doInitLog][Assertion Retriever Service Initialization]
[11/16/2015][12:57:59][8348][2932517744][][AssertionRetriever.java][doInitLog][---------------------------------------------]
[11/16/2015][12:57:59][8348][2932517744][][FWSBase.java][init][Fips140Mode = 1]
[11/16/2015][12:57:59][8348][2932517744][][agentcommon][][Requesting data for ConfigManager ID /programfiles/CA/webagent_optionpack/bin/SmHost.conf and SmAgentConfig ID /programfiles/CA/w
ebagent_optionpack/bin/WebAgent.conf]
[11/16/2015][12:57:59][8348][2932517744][][agentcommon][][Administration Manager is returning data for ConfigManager ID /programfiles/CA/webagent_optionpack/bin/SmHost.conf and SmAgentCon
fig ID /programfiles/CA/webagent_optionpack/bin/WebAgent.conf]
[11/16/2015][12:57:59][8348][2932517744][][AssertionRetriever.java][init][Assertion Retrieval Service has been successfully initialized.]
[11/16/2015][12:57:59][8348][2932517744][][agentcommon][][Requesting data for ConfigManager ID /programfiles/CA/webagent_optionpack/bin/SmHost.conf and SmAgentConfig ID /programfiles/CA/w
ebagent_optionpack/bin/WebAgent.conf]
[11/16/2015][12:57:59][8348][2932517744][][agentcommon][][Administration Manager is returning data for ConfigManager ID /programfiles/CA/webagent_optionpack/bin/SmHost.conf and SmAgentCon
fig ID /programfiles/CA/webagent_optionpack/bin/WebAgent.conf]
[11/16/2015][12:58:28][8348][8854384][][agentcommon][][The Configuration Management thread is calling doManagement()]
[11/16/2015][12:58:28][8348][8854384][][agentcommon][][There are doManagement messages]
[11/16/2015][12:58:58][8348][8854384][][agentcommon][][The Configuration Management thread is calling doManagement()]
[11/16/2015][12:58:58][8348][8854384][][agentcommon][][There are doManagement messages]
AFFWEBSERV LOG
[root@server log]# more affwebserv.log
[8348/2932185968][Mon Nov 16 2015 12:55:57][agentcommon][INFO][sm-FedClient-00010] The SiteMinder Agent is initializing ..
[8348/2932185968][Mon Nov 16 2015 12:55:57][agentcommon][INFO][sm-FedClient-00010] SiteMinder Product Details: PRODUCT_VERSION=12.52, PRODUCT_NAME=Federation Web Services, PRODUCT_UPDATE=
0102 , PRODUCT_LABEL=766.
[8348/2932185968][Mon Nov 16 2015 12:55:57][agentcommon][INFO][sm-FedClient-00010] Administration Manager is trying to create configuration for the SiteMinder Agent
[8348/2932185968][Mon Nov 16 2015 12:55:57][agentcommon][INFO][sm-FedClient-00010] Creating agent connection using file : /programfiles/CA/webagent_optionpack/bin/WebAgent.conf
[8348/2932185968][Mon Nov 16 2015 12:55:58][agentcommon][INFO][sm-FedClient-00010] Registering the Configuration Manager with the Policy Server
[8348/2932185968][Mon Nov 16 2015 12:55:58][agentcommon][INFO][sm-FedClient-00010] Obtained data from the Policy Server for Agent Config Object "wac_waop"
[8348/2932185968][Mon Nov 16 2015 12:55:58][agentcommon][INFO][sm-FedClient-00010] Configuration Manager is creating the Configuration Management thread with pspollinterval of 30 seconds
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00070] Default agent name: wa_waop
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00080] Transient ID Cookies: NO
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00220] Accept Third Party Cookies: NO
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-02920] Transient IP Check: NO
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00100] Cookie domain:
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00120] Cookie domain scope: 0
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00160] FWSMaxProviderCacheSize not specified. Using default: 700
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00190] SSOZoneName not specified. Using default: SM
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00200] SSOTrustedZone specified as: [SM]
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00240] FedDeploymentMode not specified. Using default:
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00260] FedSmConnectorEnabled not specified. Using default:
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00280] FedSmConnectorRealmFilter not specified. Using default:
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00090] Use Secure Cookies: NO
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-03100] No ValidFedTargetDomain specified. ()
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-03370] Client Locale Preferred: YES
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-03380] Localization: YES
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-03390] Default Locale: en-US
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-03400] Log Locale: en-US
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAgentConfig.java][INFO][sm-FedClient-00170] Creating Federation Web services cache. ()
[8348/2932185968][Mon Nov 16 2015 12:55:58][FWSAdministrationManager.java][INFO][sm-FedClient-00030] Federation Web services initialization succeeded. ()
[8348/2932185968][Mon Nov 16 2015 12:55:58][ManageNameIDService.java][INFO][sm-FedClient-01530] SAML2 NameID Management Service Initialization.
[8348/2932185968][Mon Nov 16 2015 12:55:58][ManageNameIDService.java][INFO][sm-FedClient-01520] SAML2 NameID Management Service has been successfully initialized.
[8348/2932517744][Mon Nov 16 2015 12:57:59][AssertionRetriever.java][INFO][sm-FedClient-00530] Assertion Retriever Service Initialization ()
[8348/2932517744][Mon Nov 16 2015 12:57:59][AssertionRetriever.java][INFO][sm-FedClient-00620] Assertion Retrieval Service has been successfully initialized. ()
Regards
Hubert