Post-Installation Task 1: Copying Dependencies
Order Management Server does not ship with all the required 3rd party dependencies. A copyLib.sh script is provided under $OM_HOME/roles/<service-name>. This script runs under each service and copies the required dependencies.
- Provide the path from where the dependencies have to be copied. Do this by setting the following variables in 
		  copyLib.sh 
		  : 
		  
- JDBC_JAR_PATH
 - EMS_JAR_PATH_tibjms
 - EMS_JAR_PATH_jms
 - HIBERNATE_JAR_PATH
 - RESTFUL_API_JAR_PATH
 - MAIL_JAR_PATH
 - JAVAX_API_JAR_PATH
 - JMS_API_JAR_PATH
 
The copyLib.sh must look similar to this:#!/usr/bin/env bash # for Oracle DB export JDBC_JAR_PATH=/data/oracle12c/app/oracle12c/product/12.1.0/dbhome_1/jdbc/lib/ojdbc7.jar export EMS_JAR_PATH_tibjms=/opt/tibco/ems/8.3/lib/tibjms.jar export EMS_JAR_PATH_jms=/opt/tibco/ems/8.3/lib/jms-2.0.jar export HIBERNATE_JAR_PATH=/opt/tibco/af/5.0/lib/hibernateLibs/*.jar export RESTFUL_API_JAR_PATH=/opt/tibco/af/5.0/lib/RESTful_api/javax.ws.rs-api-2.0.1.jar export MAIL_JAR_PATH=/opt/tibco/af/5.0/lib/mail/mail-1.4.jar export JAVAX_API_JAR_PATH=/opt/apps/code/tibcoWS/temp/af/5.0/lib/servlet_api/javax.servlet-api-3.1.0.jar export JMS_API_JAR_PATH=/opt/apps/code/tibcoWS/temp/af/5.0/lib/jms/javax.jms-api-2.0.1.jar DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo "$DIR" for role in `find $DIR/../roles/*/standalone/bin/copyLib.sh` do echo "##############Copying for $role ###################" sh $role doneAlternatively, you can set them as system properties. Each variable points to the .jar file to be copied. See the example in the copyLib.sh script for clarification.
 - After setting the variables, run the copyLib.sh script.
 
Copyright © 2023. Cloud Software Group, Inc. All Rights Reserved. 
