Anaplan Connect 1.4.2 Shell Script




I was encountered with the below error code as I execute shell script.


Shell Script :

# This script executes a data load import to the model

set JAVA_HOME="/****/jdk1.8.0_191/bin/java"
set CertPath="/******/OpenSSL-Win64/bin/certificate.pem"
set PrivateKey="/******/OpenSSL-Win64/bin/private2.key"
set WorkspaceId="*********"
set ModelId="*********"
set ServiceUrl=""
set AuthUrl=""
set Operation="'-debug -service %ServiceUrl% -auth %AuthUrl% -workspace %WorkspaceId% -model %ModelId% -file '*****.txt' -loadclass "oracle.jdbc.driver.OracleDriver" -jdbcproperties '********.properties' -import 'LIST IMPORT' -execute -output '*******/LogFiles.log'"

#________________ Do not edit below this line __________________

if [ "${PrivateKey}" ]; then
    Credentials="-certificate ${CertPath} -privatekey ${PrivateKey}"

echo cd "`dirname "$0"`"
cd "`dirname "$0"`"

if [ ! -f ]; then
    echo "Please ensure this script is in the same directory as" >&2
    exit 1
elif [ ! -x ]; then
    echo "Please ensure you have executable permissions on" >&2
    exit 1
Command="./ ${Credentials} ${Operation}"
/bin/echo "${Command}"
exec /bin/sh -c "${Command}"


Error Code:

[celapp@us***** anaplan-connect]$ ./

cd .


Absolute path to JAVA8 or JAVA11 or OpenJDK8 executable not provided. Will attempt to figure out path from JAVA_HOME or which command...

Found Java executable from 'which' command: /opt/jdk/jdk1.8.0_191/bin/java

Java 8 found!

Java 8 found!

Using ./anaplan-connect-1.4.2-jar-with-dependencies.jar

2019-12-06 14:59:56 ERROR 38215 |--   Options are: