The AffWebServices.properties file contains all the initialization parameters for Federation Web Services. For deploying FWS, set only the parameter that specifies the location of the WebAgent.conf file.
To configure the AffWebServices.properties file
C:\\Program Files\\ca\\webagent\\bin\\IIS\\WebAgent.conf
Note: Federation Web Services is a Java component, so the Windows paths must contain double backslashes.
server_home/servers/https-hostname/config/WebAgent.conf
sps_home\\proxy-engine\\conf\\defaultagent\\WebAgent.conf
sps_home/proxy-engine/conf/defaultagent/WebAgent.conf
Accept the default values for the rest of the settings.
To set up the WebLogic Reverse Proxy plug-in:
For more information, see WebLogic documentation.
This example uses the Apache httpd.conf file.
<IfModule mod_weblogic.c> WebLogicHost <WebLogic_Machine_IP Address> WebLogicPort <WebLogic_Machine_Port_Number> </IfModule> <Location /affwebservices> SetHandler weblogic-handler Debug ALL </Location>
Deploy the FWS application on System 2 and System 5.
Important! For the FWS application to work with WebLogic Server, review the weblogic.xml file in the WEB-INF directory. Verify that the prefer-web-inf-classes parameter is set to true.
The weblogic.xml file is located in the directory webagent\affwebservices\WEB-INF.
The following code excerpt shows how to set the prefer-web-inf-classes parameter:
<weblogic-web-app> <container-descriptor> <prefer-web-inf-classes>true</prefer-web-inf-classes> </container-descriptor> </weblogic-web-app>
In addition, verify that the precompile parameter is set to true, as listed following:
<jsp-descriptor> <precompile>true</precompile> <jsp-descriptor>
Follow these steps: to deploy FWS
/webagent_option_pack_home/affwebservices/
For more information about deploying a web application, see the WebLogic documentation.
http://fqhn:port_number/affwebservices/assertionretriever
Defines the fully qualified host name.
Defines the port number of the server where the Federation Web Services application is installed.
For example:
http://myhost.ca.com:81/affwebservices/assertionretriever
If Federation Web Services is operating correctly, you see the following message:
Assertion Retrieval Service has been successfully initialized. The requested servlet accepts only HTTP POST requests.
This message indicates that Federation Web Services is listening for data activity. The FWS application is now deployed for the WebLogic server.
If Federation Web Services is not operating correctly, a message that the Assertion Retrieval Service has failed displays. If the service fails, review the Federation Web Services log.
Note: For instructions on enabling trace logging for the FWS application, see Trace Logging.
Copyright © 2012 CA.
All rights reserved.
|
|