You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/07/15 03:28:40 UTC
[shardingsphere-elasticjob] branch master updated: Fix bootstrap
class in start script. (#1063)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git
The following commit(s) were added to refs/heads/master by this push:
new c1c84a6 Fix bootstrap class in start script. (#1063)
c1c84a6 is described below
commit c1c84a657d11a703be006c3da5bb24bc778e28f8
Author: keker <as...@163.com>
AuthorDate: Wed Jul 15 11:28:30 2020 +0800
Fix bootstrap class in start script. (#1063)
---
.../elasticjob-cloud-scheduler/src/main/resources/bin/dcos.sh | 2 +-
.../elasticjob-cloud-scheduler/src/main/resources/bin/start.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/bin/dcos.sh b/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/bin/dcos.sh
index d132e2b..1758ef8 100755
--- a/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/bin/dcos.sh
+++ b/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/bin/dcos.sh
@@ -21,7 +21,7 @@ cd `dirname $0`
cd ..
DEPLOY_DIR=`pwd`
LIB_DIR=${DEPLOY_DIR}/lib/*
-CONTAINER_MAIN=Bootstrap
+CONTAINER_MAIN=org.apache.shardingsphere.elasticjob.cloud.scheduler.Bootstrap
JAVA_OPTS=" -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.library.path=/usr/local/lib:/usr/lib:/usr/lib64"
java ${JAVA_OPTS} -classpath ${LIB_DIR}:. ${CONTAINER_MAIN}
diff --git a/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/bin/start.sh b/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/bin/start.sh
index 8ddc0ba..d677382 100755
--- a/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/bin/start.sh
+++ b/elasticjob-cloud/elasticjob-cloud-scheduler/src/main/resources/bin/start.sh
@@ -22,7 +22,7 @@ cd ..
DEPLOY_DIR=`pwd`
CONF_DIR=${DEPLOY_DIR}/conf
LIB_DIR=${DEPLOY_DIR}/lib/*
-CONTAINER_MAIN=Bootstrap
+CONTAINER_MAIN=org.apache.shardingsphere.elasticjob.cloud.scheduler.Bootstrap
JAVA_OPTS=" -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.library.path=/usr/local/lib:/usr/lib:/usr/lib64"
source ${CONF_DIR}/elasticjob-cloud-scheduler.properties