diff options
Diffstat (limited to 'wso2bpel-ext/wso2bpel-core/distribution/standalone')
3 files changed, 10 insertions, 6 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
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.sh b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.sh index f6cc79d..c8ea31a 100644 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.sh +++ b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.sh @@ -16,6 +16,7 @@ DIRNAME=`dirname $0` RUNHOME=`cd $DIRNAME/; pwd` +WSO_EXT_HOME=${RUNHOME}/.. echo @RUNHOME@ $RUNHOME echo @JAVA_HOME@ $JAVA_HOME @@ -24,7 +25,8 @@ echo @JAVA@ $JAVA JAVA_OPTS="-Xms50m -Xmx128m -Djava.awt.headless=true" port=8312 -#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n" +# JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n" +JAVA_OPTS="$JAVA_OPTS -DWSO2_EXT_HOME=${WSO_EXT_HOME}" echo @JAVA_OPTS@ $JAVA_OPTS class_path="$RUNHOME/:$RUNHOME/../lib/*:$RUNHOME/../wso2bpel-service.jar" diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/conf/wso2bpel.yml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/conf/wso2bpel.yml index 6cf4c58..b56bb5a 100644 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/conf/wso2bpel.yml +++ b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/conf/wso2bpel.yml @@ -25,9 +25,9 @@ wso2Host: localhost wso2HostPort: 9443
wso2AuthUserName: admin
wso2AuthPassword: admin
-wso2Path: ../../wso2bps
-wso2UploadFilePath: ../../wso2bps/tmp/bpeluploads
-wso2SslJksFile: ../../wso2bps/repository/resources/security/wso2carbon.jks
+wso2Path: ../wso2bps
+wso2UploadFilePath: ../wso2bps/tmp/bpeluploads
+wso2SslJksFile: ../wso2bps/repository/resources/security/wso2carbon.jks
wso2SslJksPassword: wso2carbon
|