1.1.1 Server Setup

This topic provides the systematic instructions to setup the server.

Before deploying the Customer Services WAR files, The user must setup managed servers for the services.
  1. In the Application Server, set up two Managed Servers for INFRA Service, and Customer Service respectively.
  2. Name the Managed Servers as ConfigServer, and CustomerServer respectively.

    Note:

    Any name can be provided to the Managed Servers, and the INFRA Service and Customer Service can be deployed in the any corresponding server created for that service.
  3. Create the following Data Sources for INFRA Service, and Customer Service:
    Data Source JNDI Name Type Target
    jdbc/UBSCUSTOMER Non-XA Datasource Customer Service
    jdbc/PLATO Non-XA Datasource ConfigServer
  4. Include the following line in setDomainEnv.cmd or setDomainEnv.sh of the Weblogic domain:
    For Linux Server:

    Syntax

    JAVA_OPTIONS="${JAVA_OPTIONS} ${JAVA_PROPERTIES} -Dflyway.enabled=false -Dspring.flyway.enabled=false -Dplato.services.config.uri=http://<config-server-ip>:<config-server-port> -Dplato.service.logging.path=<Debug Path where Logs are to be written>"

    export JAVA_OPTIONS

    Sample

    JAVA_OPTIONS="${JAVA_OPTIONS} ${JAVA_PROPERTIES} -Dflyway.enabled=false -Dspring.flyway.enabled=false -Dplato.services.config.uri=http://10.10.10.10:1010 -Dplato.service.logging.path=/mnt/FC144/ICLogs"

    export JAVA_OPTIONS

    For Windows Server:

    Syntax

    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dplato.services.config.uri=http://<config-server-ip>:<config-server-port> -Dflyway.enabled=false -Dspring.flyway.enabled=false -Dplato.service.logging.path=<Debug Path where Logs are to be written>

    Sample

    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dflyway.enabled=false -Dspring.flyway.enabled=false -Dplato.services.config.uri=http://whf00bir:9005 -Dplato.service.logging.path=D:/ICLogs

If the Node-Manager is used to start the Managed Servers, the user need to perform the following steps:

  1. Navigate to Servers. Under Server, click Managed Server.
  2. Under Managed Server, click Server Start.
  3. Set parameters specific to the Managed Server in the argument section.