7.10 Deploying RAOR.ear in WebLogic

This section describes how to deploy RAOR.ear in WebLogic.

Note:

It is mandatory to have RAOR.ear in the same domain where <contextname>.ear of the OFS BD Application is deployed.

IF RAOR ILP and TFLT are deployed, then change the following values in the web.xml file of each individual service:

  • For ILP, change rti.server.web.root to rtiIPE.server.web.root.
  • For RAOR, change rti.server.web.rootto rtiRAOR.server.web.root.
  • For TFLT, change rti.server.web.root to rtiTFLT.server.web.root.

To deploy RAOR.ear in WebLogic, follow these steps:

  1. Start the WebLogic server.
  2. Create an RAOR.ear folder in <WEBLOGIC_INSTALL_DIR>/user_projects/domains/<DOMAIN_NAME>/applications.
  3. Copy <FIC_HOME>/raor_processing/RAOR.ear to <WEBLOGIC_INSTALL_ DIR>/user_projects/ domains/<DOMAIN_ NAME>/applications/RAOR.ear/.
  4. Explode the RAOR.ear file by executing the command:
    jar -xvfRAOR.ear
    .
  5. Delete the RAOR.ear and RAOR.war files.
  6. Create an RAOR.war folder in <WEBLOGIC_INSTALL_DIR>/user_projects/domains/<DOMAIN_NAME>/applications/RAOR.ear.
  7. Copy <FIC_HOME>/raor_processing/RAOR.war to <WEBLOGIC_INSTALL_ DIR>/user_projects/ domains/<DOMAIN_ NAME>/applications/RAOR.ear/RAOR.war.
  8. Explode the RAOR.war file by executing the command:
    jar -xvfRAOR.war
    .
  9. In the <WEBLOGIC_INSTALL_DIR>/user_ projects/domains/<DomainName>/applications/ RAOR.ear/RAOR.war/WEB-INF path, make the following changes in the log4j.xml file:
    • Change the debug value to True as:
      <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"debug="True">
    • Change the level value to Debug as:
      <logger name="org.springframework">
      <level value="DEBUG"/>
      </logger>
      <logger name="com.ofs.aai">
      <level value="DEBUG"/>
      </logger>
  10. In the <WEBLOGIC_INSTALL_DIR>/user_projects/domains/<Domain Name>/applications/ RAOR.ear/RAOR.war/conf path, provide a working watch list URL in the WatchList.wsdl file.

    For example: <PROTOCOL://HOSTNAME:PORT/mantas/services/WatchListService.

  11. In the <WEBLOGIC_INSTALL_DIR>/user_projects/domains/<Domain Name>/applications/ RAOR.ear/RAOR.war/conf/ext path, update the raor.auth.role property in the spring- raor.properties file with the required role name. For example: KYCADMIN.

    This step is required in order to authorize a role name for RAOR. You must also map this role to the user who is hitting the RAOR service. For example: KYCADMIN1.

  12. In the <WEBLOGIC_INSTALL_DIR>/user_projects/domains/<Domain Name>/applications/ RAOR.ear/RAOR.war/conf path, update the aai.auth.url property in the install.properties file with the AAI authentication URL. For example: aai.auth.url=<PROTOCOL://HOSTNAME:PORT/ CONTEXT_NAME/rest-api/idm/service/login. aai.auth.url=http://<Server>:<port>/<context>/ rest-api/idm/service/login.

    For example: http://testserver:8031/OFSAAI/rest-api/idm/service/login.

  13. In the <WEBLOGIC_INSTALL_DIR>/user_projects/domains/<Domain Name>config path, update config.xml with the below entry under <security-configuration>:

    <enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials>.