-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
In TSBI images we cannot set correctly the classpath variable due to :
https://github.com/Talend/tsbi-images/blob/v2.7.0-20210527090437/tsbi/java8-base/entrypoint.sh#L20
# Set Java classpath if [ -e "${TALEND_APP_HOME}/.tsbi.service.classpath" ]; then export CLASSPATH=$(cat ${TALEND_APP_HOME}/.tsbi.service.classpath) fi
This is fix on master, waiting for next release to bump. Meanwhile a workaround (seen w/ Alain) has be made.
https://github.com/Talend/tsbi-images/blob/main/tsbi/java8-base/entrypoint.sh#L18-L34
# Set Java classpath if [ -n "$CLASSPATH_OVERRIDE" ]; then export CLASSPATH="$CLASSPATH_OVERRIDE" unset CLASSPATH_OVERRIDE else if [ -n "$CLASSPATH" ]; then if [ -e "${TALEND_APP_HOME}/.tsbi.service.classpath" ]; then export CLASSPATH="$CLASSPATH:$(cat ${TALEND_APP_HOME}/.tsbi.service.classpath)" else export CLASSPATH="$CLASSPATH" fi else if [ -e "${TALEND_APP_HOME}/.tsbi.service.classpath" ]; then export CLASSPATH="$(cat ${TALEND_APP_HOME}/.tsbi.service.classpath)" fi fi fi