Skip to content

Commit

Permalink
add extension loading (#3651)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Hernán Carle <[email protected]>
Co-authored-by: Pablo Hernán Carle <[email protected]>
  • Loading branch information
pablocarle and Pablo Hernán Carle authored Jul 17, 2024
1 parent 06ea745 commit 72c6c5b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gateway-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ else
externalProtocol="http"
fi

# Check if the directory containing the ZAAS shared JARs was set and append it to the ZAAS loader path
if [ -n "${ZWE_GATEWAY_SHARED_LIBS}" ]
then
GATEWAY_LOADER_PATH=${ZWE_GATEWAY_SHARED_LIBS}
fi

echo "Setting loader path: "${ZAAS_LOADER_PATH}

LIBPATH="$LIBPATH":"/lib"
LIBPATH="$LIBPATH":"/usr/lib"
LIBPATH="$LIBPATH":"${JAVA_HOME}"/bin
Expand Down Expand Up @@ -210,6 +218,7 @@ _BPX_JOBNAME=${ZWE_zowe_job_prefix}${GATEWAY_CODE} java \
-Djava.protocol.handler.pkgs=com.ibm.crypto.provider \
-Djavax.net.debug=${ZWE_configs_sslDebug:-""} \
-Djava.library.path=${LIBPATH} \
-Dloader.path=${GATEWAY_LOADER_PATH} \
-jar ${JAR_FILE} &

pid=$!
Expand Down

0 comments on commit 72c6c5b

Please sign in to comment.