2.2.4 JVM Arguments to Configure
- Maintain below parameter value in
each manage server startup argument list.
“plato.services.discovery.port=managed-server-port”
- Configure these parameters in the
setUserOverride.sh of Weblogic. The values to be updated appropriate for the environment.
Parameters to populate under setUserOverrides File Comments LOG_PATH="" export LOG_PATH; Writes Payments Service Logs LOGGING_ENV="DEV" export LOG_PATH; -- APIGATEWAY_HOST="10.10.10.10" export APIGATEWAY_HOST; Api-gateways service deployed ipaddress to be passes APIGATEWAY_PORT="port" export APIGATEWAY_PORT; Api-gateways service target manage server port PLATO_SERVICES_CONFIG_URI="http://10.10.10.10:port" export PLATO_SERVICES_CONFIG_URI; Keep plato config service port and ipaddress PLATO_SERVICES_EUREKA_URI="http://10.10.10.10:port" export PLATO_SERVICES_EUREKA_URI; Keep plato config service port PLATO_CONFIG_PORT="port" export PLATO_CONFIG_PORT; Keep plato config service port -Dspring.main.allow-circular-references=true -- -Dplatologging.enabled=Y Enabling the payment service Level Logs - Configure these parameters in the setUserOverride.sh of Weblogic. The values should be
altered.
JAVA_OPTIONS="${JAVA_OPTIONS} -Dmulti.entity.enabled=false" JAVA_OPTIONS="${JAVA_OPTIONS} -DflywayTask=migrate -Dflyway.enabled=false" JAVA_OPTIONS="${JAVA_OPTIONS} -Dplato.services.config.uri=${PLATO_SERVICES_CONFIG_URI}" JAVA_OPTIONS="${JAVA_OPTIONS} -Dflyway.domain.placeholders.plato.service.logging.path=${LOG_PATH}" JAVA_OPTIONS="${JAVA_OPTIONS} -Dplato.service.logging.path=${LOG_PATH}" JAVA_OPTIONS="${JAVA_OPTIONS} -Dflyway.domain.placeholders.plato.service.env=${LOGGING_ENV}" JAVA_OPTIONS="${JAVA_OPTIONS} -Dspring.flyway.enabled=false" JAVA_OPTIONS="${JAVA_OPTIONS} -Dplato-config.flyway.domain.locations=dummy" JAVA_OPTIONS="${JAVA_OPTIONS} -Dplato-config.flyway.domain.schemas=dummy" JAVA_OPTIONS="${JAVA_OPTIONS} -Dplato.services.eureka.uri=${PLATO_SERVICES_EUREKA_URI}" JAVA_OPTIONS="${JAVA_OPTIONS} -Dplato.services.config.port=${PLATO_CONFIG_PORT}" JAVA_OPTIONS="${JAVA_OPTIONS} -Dplato.services.gateway.port=${APIGATEWAY_PORT}" JAVA_OPTIONS="${JAVA_OPTIONS} -Dapigateway.url=${APIGATEWAY_URL}"
This completes the deployment process.
Parent topic: Deploying Application in Oracle WebLogic