diff options
author | 2016-10-11 16:56:18 +0800 | |
---|---|---|
committer | 2016-10-11 16:56:18 +0800 | |
commit | e298272753b493afd2f4210f80a1d4e363727cc0 (patch) | |
tree | b96c2133c8bbdad724868156897a6a0fd4d2bffb /wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.sh | |
parent | 9c3973e30b12564dead2454950d3827a53ff39ce (diff) |
Integrate wso2bps
Change-Id: I5aca17e5a8723fa151907d52e9279568e7cdf7f1
issue-id: OCS-104
Signed-off-by: huangjian <huang.jian12@zte.com.cn>
Diffstat (limited to 'wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.sh')
-rw-r--r-- | wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.sh | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.sh b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.sh index ddcfb2f..d6cf1b9 100644 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.sh +++ b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.sh @@ -14,21 +14,19 @@ # limitations under the License. # + DIRNAME=`dirname $0` RUNHOME=`cd $DIRNAME/; pwd` echo @RUNHOME@ $RUNHOME -echo @JAVA_HOME@ $JAVA_HOME -JAVA="$JAVA_HOME/bin/java" -echo @JAVA@ $JAVA - -JAVA_OPTS="-Xms50m -Xmx128m" -port=8312 -#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n" -echo @JAVA_OPTS@ $JAVA_OPTS +echo "### Starting wso2bps"; +cd wso2bps +$RUNHOME/wso2bps/bin/wso2server.sh & +cd $RUNHOME -class_path="$RUNHOME/:$RUNHOME/lib/*:$RUNHOME/wso2bpel-service.jar" -echo @class_path@ $class_path -"$JAVA" $JAVA_OPTS -classpath "$class_path" org.openo.carbon.bpel.Wso2BpelApplication server "$RUNHOME/conf/wso2bpel.yml" +echo "\n\n### Starting wso2bps-ext" +cd wso2bps-ext +$RUNHOME/wso2bps-ext/bin/startup.sh & +echo "### Starting wso2 end..."; |