diff options
author | 2017-04-19 17:21:44 +0800 | |
---|---|---|
committer | 2017-04-19 17:21:44 +0800 | |
commit | 479243ad2b77fd90f55142e2b81db7fb6b1e09e6 (patch) | |
tree | ca1f10fa036819c9eac64f47943a56133e67fef4 /wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.bat | |
parent | a4019a2c6f05385452de5de45ad781f053e6262a (diff) |
Modify the config of wso2
Issue-ID: OCS-217
Change-Id: I6ab627200ebae31ea77b0da5d608b9f8f52b701e
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
Diffstat (limited to 'wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.bat')
-rw-r--r-- | wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.bat | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.bat b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.bat index 1d32352..95c0b59 100644 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.bat +++ b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.bat @@ -20,16 +20,18 @@ title wso2bpel-service set RUNHOME=%~dp0
echo ### RUNHOME: %RUNHOME%
echo ### Starting wso2bpel-service
+set WSO2_EXT_HOME=%RUNHOME%\..
set JAVA="%JAVA_HOME%\bin\java.exe"
set port=8312
set jvm_opts=-Xms50m -Xmx128m
rem set jvm_opts=%jvm_opts% -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=%port%,server=y,suspend=n
-set class_path=%RUNHOME%;..\lib\*;%RUNHOME%..\wso2bpel-service.jar
+set jvm_opts=%jvm_opts% -DWSO2_EXT_HOME=%WSO2_EXT_HOME%
+set class_path=%RUNHOME%;%WSO2_EXT_HOME%\lib\*;%WSO2_EXT_HOME%\wso2bpel-service.jar
echo ### jvm_opts: %jvm_opts%
echo ### class_path: %class_path%
-%JAVA% -classpath %class_path% %jvm_opts% org.openo.carbon.bpel.Wso2BpelApplication server %RUNHOME%../conf/wso2bpel.yml
+%JAVA% -classpath %class_path% %jvm_opts% org.openo.carbon.bpel.Wso2BpelApplication server %WSO2_EXT_HOME%/conf/wso2bpel.yml
IF ERRORLEVEL 1 goto showerror
exit
|