diff options
author | 2017-08-08 14:02:53 +0800 | |
---|---|---|
committer | 2017-08-08 14:02:53 +0800 | |
commit | c0604184b2aa8cff924ca783ec6b36f1f5988775 (patch) | |
tree | 1c70ffe1ad90c915b3382a37eb2fa80901519c7b /wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main | |
parent | 706fc9fed496972968fde136c3e4e10f9578a5b3 (diff) |
init code
Change-Id: Icd0948118397b256da70dfbcbbec5520dc5eafd4
Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
Diffstat (limited to 'wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main')
23 files changed, 0 insertions, 1911 deletions
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/initDB.sh b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/initDB.sh deleted file mode 100644 index eacbaf2..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/initDB.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# -# Copyright 2016 ZTE Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -DIRNAME=`dirname $0` -HOME=`cd $DIRNAME/; pwd` -user=$1 -password=$2 -port=$3 -host=$4 - - -echo "start to change db ip and port" -sed -i "s|localhost|$host|" wso2bps/repository/conf/datasources/bps-datasources.xml -sed -i "s|3306|$port|" wso2bps/repository/conf/datasources/bps-datasources.xml -cat wso2bps/repository/conf/datasources/bps-datasources.xml -echo "end of change db ip and port" -echo "" - -echo "start create wso2 bpel db" -mysql -u$user -p$password -P$port -h$host <$HOME/wso2bps/dbscripts/bps/bpel/create/wso-bpel-mysql-createdb.sql -sql_result=$? -if [ $sql_result != 0 ] ; then - echo "failed to create wso2 bpel database" - exit 1 -fi - - -echo "start create wso2 bpel table" -mysql -u$user -p$password -P$port -h$host -Dwso_bpel <$HOME/wso2bps/dbscripts/bps/bpel/create/mysql.sql -sql_result=$? -if [ $sql_result != 0 ] ; then - echo "failed to create wso2 bpel table" - exit 1 -fi - -echo "init wso2 bpel database success!" -exit 0 - - diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.bat b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.bat deleted file mode 100644 index 752c415..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.bat +++ /dev/null @@ -1,32 +0,0 @@ -@REM
-@REM Copyright 2016-2017 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-
-@echo off
-title wso2
-
-set RUNHOME=%~dp0
-echo ##RUNHOME %RUNHOME%
-
-
-echo ### Starting wso2bps
-start /D %RUNHOME%wso2bps bin\wso2server.bat
-cd /D %RUNHOME%wso2bps-ext\bin
-
-echo ### Starting wso2bps-ext
-start startup.bat
-
-cd /D %RUNHOME%
-
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 deleted file mode 100644 index a57d017..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/run.sh +++ /dev/null @@ -1,32 +0,0 @@ -# -# Copyright 2016-2017 ZTE Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - - -DIRNAME=`dirname $0` -RUNHOME=`cd $DIRNAME/; pwd` -echo @RUNHOME@ $RUNHOME - -echo "### Starting wso2bps"; -cd wso2bps -$RUNHOME/wso2bps/bin/wso2server.sh & -cd $RUNHOME - - -echo "\n\n### Starting wso2bps-ext" -cd wso2bps-ext -$RUNHOME/wso2bps-ext/bin/startup.sh & -echo "### Starting wso2 end..."; - diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/stop.bat b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/stop.bat deleted file mode 100644 index 60ebad4..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/stop.bat +++ /dev/null @@ -1,28 +0,0 @@ -@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-
-@echo off
-title wso2
-
-set RUNHOME=%~dp0
-echo ##RUNHOME %RUNHOME%
-
-
-echo ### Starting wso2bps
-start /D %RUNHOME%wso2bps bin\shutdown.bat
-
-echo ### Starting wso2bps-ext
-start /D %RUNHOME%wso2bps-ext bin\shutdown.bat
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/stop.sh b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/stop.sh deleted file mode 100644 index 29e23f5..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/stop.sh +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright 2016 ZTE Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -DIRNAME=`dirname $0` -RUNHOME=`cd $DIRNAME/; pwd` -echo @RUNHOME@ $RUNHOME - -echo "### Shutdown wso2bps"; -cd wso2bps -$RUNHOME/wso2bps/bin/shutdown.sh & -cd $RUNHOME - - -echo "\n\n### Shutdown wso2bps-ext" -cd wso2bps-ext -$RUNHOME/wso2bps-ext/bin/shutdown.sh & -echo "### Shutdown wso2 end..."; diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/find_kill_process.bat b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/find_kill_process.bat deleted file mode 100644 index a4a2f06..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/find_kill_process.bat +++ /dev/null @@ -1,24 +0,0 @@ -@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-
-echo %1 | findstr %2 >NUL
-echo ERRORLEVEL=%ERRORLEVEL%
-IF ERRORLEVEL 1 goto findend
-for /f "tokens=1" %%a in (%1) do (
- echo kill %1
- taskkill /F /pid %%a
-)
-:findend
\ No newline at end of file diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/shutdown.bat b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/shutdown.bat deleted file mode 100644 index 76b2f58..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/shutdown.bat +++ /dev/null @@ -1,34 +0,0 @@ -@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-
-@echo off
-title stopping wso2bpel-service
-
-set HOME=%~dp0
-set Main_Class="org.openo.carbon.bpel.Wso2BpelApplication"
-
-echo ================== wso2bpel-service info =============================================
-echo HOME=$HOME
-echo Main_Class=%Main_Class%
-echo ===============================================================================
-
-echo ### Stopping wso2bpel-service
-cd /d %HOME%
-
-for /f "delims=" %%i in ('"%JAVA_HOME%\bin\jcmd"') do (
- call find_kill_process "%%i" %Main_Class%
-)
-exit
\ No newline at end of file diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/shutdown.sh b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/shutdown.sh deleted file mode 100644 index 6d5d93f..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/shutdown.sh +++ /dev/null @@ -1,61 +0,0 @@ -# -# Copyright 2016 ZTE Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -#!/bin/bash -# -# -# Copyright 2016 [ZTE] and others. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -DIRNAME=`dirname $0` -HOME=`cd $DIRNAME/; pwd` -Main_Class="org.openo.carbon.bpel.Wso2BpelApplication" - -echo ================== wso2bpel-service info ============================================= -echo HOME=$HOME -echo Main_Class=$Main_Class -echo =============================================================================== -cd $HOME; pwd - -echo @WORK_DIR@ $HOME - -function save_service_pid(){ - service_pid=`ps -ef | grep $Main_Class | grep -v grep | awk '{print $2}'` - echo @service_pid@ $service_pid -} - -function kill_service_process(){ - ps -p $service_pid - if [ $? == 0 ]; then - kill -9 $service_pid - fi -} - -save_service_pid; -echo @C_CMD@ kill -9 $service_pid -kill_service_process; 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 deleted file mode 100644 index 95c0b59..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.bat +++ /dev/null @@ -1,42 +0,0 @@ -@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-
-@echo off
-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 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 %WSO2_EXT_HOME%/conf/wso2bpel.yml
-
-IF ERRORLEVEL 1 goto showerror
-exit
-:showerror
-echo WARNING: Error occurred during startup or Server abnormally stopped by way of killing the process,Please check!
-echo After checking, press any key to close
-pause
-exit
\ No newline at end of file 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 deleted file mode 100644 index c8ea31a..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/bin/startup.sh +++ /dev/null @@ -1,36 +0,0 @@ -# -# Copyright 2016 ZTE Corporation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -DIRNAME=`dirname $0` -RUNHOME=`cd $DIRNAME/; pwd` -WSO_EXT_HOME=${RUNHOME}/.. -echo @RUNHOME@ $RUNHOME - -echo @JAVA_HOME@ $JAVA_HOME -JAVA="$JAVA_HOME/bin/java" -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 -DWSO2_EXT_HOME=${WSO_EXT_HOME}" -echo @JAVA_OPTS@ $JAVA_OPTS - -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" - 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 deleted file mode 100644 index b56bb5a..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps-ext/conf/wso2bpel.yml +++ /dev/null @@ -1,73 +0,0 @@ -#
-# Copyright 2016-2017 ZTE Corporation.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-template: Hello, %s!
-
-# defaultName: ${DW_DEFAULT_NAME:-Stranger}
-# the micro service ip
-serviceIp:
-msbServerAddr: http://127.0.0.1:80
-
-wso2Host: localhost
-wso2HostPort: 9443
-wso2AuthUserName: admin
-wso2AuthPassword: admin
-wso2Path: ../wso2bps
-wso2UploadFilePath: ../wso2bps/tmp/bpeluploads
-wso2SslJksFile: ../wso2bps/repository/resources/security/wso2carbon.jks
-wso2SslJksPassword: wso2carbon
-
-
-# use the simple server factory if you only want to run on a single port
-#server:
-# type: simple
-# connector:
-# type: http
-# port: 8080
-server:
- type: simple
- rootPath: '/openoapi/wso2bpel/v1/*'
- applicationContextPath: /
- adminContextPath: /admin
- connector:
- type: http
- port: 8101
-
-# Logging settings.
-logging:
-
- # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
- level: ALL
-
- # Logger-specific levels.
- loggers:
-
- # Sets the level for 'com.example.app' to DEBUG.
- org.openo.carbon.bpel.Wso2BpelApplication: INFO
-
- appenders:
- - type: console
- threshold: INFO
- timeZone: UTC
- logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
- - type: file
- threshold: INFO
- logFormat: "%d{yyyy-MM-dd HH:mm:ss SSS} %-5p [%c][%t] - %m%n"
- currentLogFilename: ./logs/wso2bpel-ext.log
- archivedLogFilenamePattern: ./logs/zip/wso2bpel-ext-%d{yyyy-MM-dd}.log.gz
- archivedFileCount: 7
- timeZone: UTC
-
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/find_kill_process.bat b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/find_kill_process.bat deleted file mode 100644 index d89cf27..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/find_kill_process.bat +++ /dev/null @@ -1,23 +0,0 @@ -@REM
-@REM Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-echo %1 | findstr %2 >NUL
-echo ERRORLEVEL=%ERRORLEVEL%
-IF ERRORLEVEL 1 goto findend
-for /f "tokens=1" %%a in (%1) do (
- echo kill %1
- taskkill /F /pid %%a
-)
-:findend
\ No newline at end of file diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/shutdown.bat b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/shutdown.bat deleted file mode 100644 index d932cb7..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/shutdown.bat +++ /dev/null @@ -1,34 +0,0 @@ -@REM -@REM Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE) -@REM -@REM Licensed under the Apache License, Version 2.0 (the "License"); -@REM you may not use this file except in compliance with the License. -@REM You may obtain a copy of the License at -@REM -@REM http://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, software -@REM distributed under the License is distributed on an "AS IS" BASIS, -@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@REM See the License for the specific language governing permissions and -@REM limitations under the License. -@REM -@echo off -title stopping WSO2 - -set HOME=%~dp0 -set Main_Class="org.wso2.carbon.bootstrap.Bootstrap" - -echo ================== WSO2 info ============================================= -echo HOME=$HOME -echo Main_Class=%Main_Class% -echo =============================================================================== - -echo ### Stopping WSO2 -cd /d %HOME% - -rem set JAVA_HOME=D:\WorkSoftware\jdk1.7.0_60 -for /f "delims=" %%i in ('"%JAVA_HOME%\bin\jcmd"') do ( - call find_kill_process "%%i" %Main_Class% -) -exit diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/shutdown.sh b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/shutdown.sh deleted file mode 100644 index 06a0950..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/bin/shutdown.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# -# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE) -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -DIRNAME=`dirname $0` -HOME=`cd $DIRNAME/; pwd` -Main_Class="org.wso2.carbon.bootstrap.Bootstrap" - -echo ================== umc-service info ============================================= -echo HOME=$HOME -echo Main_Class=$Main_Class -echo =============================================================================== -cd $HOME; pwd - -echo @WORK_DIR@ $HOME - -function save_service_pid(){ - service_pid=`ps -ef | grep $Main_Class | grep -v grep | awk '{print $2}'` - echo @service_pid@ $service_pid -} - -function kill_service_process(){ - ps -p $service_pid - if [ $? == 0 ]; then - kill -9 $service_pid - fi -} - -save_service_pid; -echo @C_CMD@ kill -9 $service_pid -kill_service_process;
\ No newline at end of file diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/dbscripts/bps/bpel/create/mysql.sql b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/dbscripts/bps/bpel/create/mysql.sql deleted file mode 100644 index c12bbfb..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/dbscripts/bps/bpel/create/mysql.sql +++ /dev/null @@ -1,170 +0,0 @@ --- --- Licensed to the Apache Software Foundation (ASF) under one --- or more contributor license agreements. See the NOTICE file --- distributed with this work for additional information --- regarding copyright ownership. The ASF licenses this file --- to you under the Apache License, Version 2.0 (the --- "License"); you may not use this file except in compliance --- with the License. You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, --- software distributed under the License is distributed on an --- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --- KIND, either express or implied. See the License for the --- specific language governing permissions and limitations --- under the License. --- - --- --- BPEL Related SQL Scripts --- - - -create table ODE_SCHEMA_VERSION (VERSION integer); -insert into ODE_SCHEMA_VERSION values (6); --- Apache ODE - SimpleScheduler Database Schema --- --- MySQL scripts by Maciej Szefler. --- --- -DROP TABLE IF EXISTS ODE_JOB; - -CREATE TABLE ODE_JOB ( - jobid CHAR(64) NOT NULL DEFAULT '', - ts BIGINT NOT NULL DEFAULT 0, - nodeid char(64) NULL, - scheduled int NOT NULL DEFAULT 0, - transacted int NOT NULL DEFAULT 0, - - instanceId BIGINT, - mexId varchar(255), - processId varchar(255), - type varchar(255), - channel varchar(255), - correlatorId varchar(255), - correlationKeySet varchar(255), - retryCount int, - inMem int, - detailsExt blob(4096), - - PRIMARY KEY(jobid), - INDEX IDX_ODE_JOB_TS(ts), - INDEX IDX_ODE_JOB_NODEID(nodeid) -) -ENGINE=innodb; - -COMMIT; - -CREATE TABLE TASK_ATTACHMENT (ATTACHMENT_ID BIGINT NOT NULL, MESSAGE_EXCHANGE_ID VARCHAR(255), PRIMARY KEY (ATTACHMENT_ID)) ENGINE=innodb; -CREATE TABLE ODE_ACTIVITY_RECOVERY (ID BIGINT NOT NULL, ACTIONS VARCHAR(255), ACTIVITY_ID BIGINT, CHANNEL VARCHAR(255), DATE_TIME DATETIME, DETAILS TEXT, INSTANCE_ID BIGINT, REASON VARCHAR(255), RETRIES INTEGER, PRIMARY KEY (ID)) ENGINE=innodb; -CREATE TABLE ODE_CORRELATION_SET (CORRELATION_SET_ID BIGINT NOT NULL, CORRELATION_KEY VARCHAR(255), NAME VARCHAR(255), SCOPE_ID BIGINT, PRIMARY KEY (CORRELATION_SET_ID)) ENGINE=innodb; -CREATE TABLE ODE_CORRELATOR (CORRELATOR_ID BIGINT NOT NULL, CORRELATOR_KEY VARCHAR(255), PROC_ID BIGINT, PRIMARY KEY (CORRELATOR_ID)) ENGINE=innodb; -CREATE TABLE ODE_CORSET_PROP (ID BIGINT NOT NULL, CORRSET_ID BIGINT, PROP_KEY VARCHAR(255), PROP_VALUE VARCHAR(255), PRIMARY KEY (ID)) ENGINE=innodb; -CREATE TABLE ODE_EVENT (EVENT_ID BIGINT NOT NULL, DETAIL VARCHAR(255), DATA BLOB, SCOPE_ID BIGINT, TSTAMP DATETIME, TYPE VARCHAR(255), INSTANCE_ID BIGINT, PROCESS_ID BIGINT, PRIMARY KEY (EVENT_ID)) ENGINE=innodb; -CREATE TABLE ODE_FAULT (FAULT_ID BIGINT NOT NULL, ACTIVITY_ID INTEGER, DATA TEXT, MESSAGE VARCHAR(4000), LINE_NUMBER INTEGER, NAME VARCHAR(255), PRIMARY KEY (FAULT_ID)) ENGINE=innodb; -CREATE TABLE ODE_MESSAGE (MESSAGE_ID BIGINT NOT NULL, DATA TEXT, HEADER TEXT, TYPE VARCHAR(255), MESSAGE_EXCHANGE_ID VARCHAR(255), PRIMARY KEY (MESSAGE_ID)) ENGINE=innodb; -CREATE TABLE ODE_MESSAGE_EXCHANGE (MESSAGE_EXCHANGE_ID VARCHAR(255) NOT NULL, CALLEE VARCHAR(255), CHANNEL VARCHAR(255), CORRELATION_ID VARCHAR(255), CORRELATION_KEYS VARCHAR(255), CORRELATION_STATUS VARCHAR(255), CREATE_TIME DATETIME, DIRECTION INTEGER, EPR TEXT, FAULT VARCHAR(255), FAULT_EXPLANATION VARCHAR(255), OPERATION VARCHAR(255), PARTNER_LINK_MODEL_ID INTEGER, PATTERN VARCHAR(255), PIPED_ID VARCHAR(255), PORT_TYPE VARCHAR(255), PROPAGATE_TRANS BIT, STATUS VARCHAR(255), SUBSCRIBER_COUNT INTEGER, CORR_ID BIGINT, PARTNER_LINK_ID BIGINT, PROCESS_ID BIGINT, PROCESS_INSTANCE_ID BIGINT, REQUEST_MESSAGE_ID BIGINT, RESPONSE_MESSAGE_ID BIGINT, PRIMARY KEY (MESSAGE_EXCHANGE_ID)) ENGINE=innodb; -CREATE TABLE ODE_MESSAGE_ROUTE (MESSAGE_ROUTE_ID BIGINT NOT NULL, CORRELATION_KEY VARCHAR(255), GROUP_ID VARCHAR(255), ROUTE_INDEX INTEGER, PROCESS_INSTANCE_ID INTEGER, ROUTE_POLICY VARCHAR(16), CORR_ID BIGINT, PRIMARY KEY (MESSAGE_ROUTE_ID)) ENGINE=innodb; -CREATE TABLE ODE_MEX_PROP (ID BIGINT NOT NULL, MEX_ID VARCHAR(255), PROP_KEY VARCHAR(255), PROP_VALUE VARCHAR(2000), PRIMARY KEY (ID)) ENGINE=innodb; -CREATE TABLE ODE_PARTNER_LINK (PARTNER_LINK_ID BIGINT NOT NULL, MY_EPR TEXT, MY_ROLE_NAME VARCHAR(255), MY_ROLE_SERVICE_NAME VARCHAR(255), MY_SESSION_ID VARCHAR(255), PARTNER_EPR TEXT, PARTNER_LINK_MODEL_ID INTEGER, PARTNER_LINK_NAME VARCHAR(255), PARTNER_ROLE_NAME VARCHAR(255), PARTNER_SESSION_ID VARCHAR(255), SCOPE_ID BIGINT, PRIMARY KEY (PARTNER_LINK_ID)) ENGINE=innodb; -CREATE TABLE ODE_PROCESS (ID BIGINT NOT NULL, GUID VARCHAR(255), PROCESS_ID VARCHAR(255), PROCESS_TYPE VARCHAR(255), VERSION BIGINT, PRIMARY KEY (ID)) ENGINE=innodb; -CREATE TABLE ODE_PROCESS_INSTANCE (ID BIGINT NOT NULL, DATE_CREATED DATETIME, EXECUTION_STATE BLOB, FAULT_ID BIGINT, LAST_ACTIVE_TIME DATETIME, LAST_RECOVERY_DATE DATETIME, PREVIOUS_STATE SMALLINT, SEQUENCE BIGINT, INSTANCE_STATE SMALLINT, INSTANTIATING_CORRELATOR_ID BIGINT, PROCESS_ID BIGINT, ROOT_SCOPE_ID BIGINT, PRIMARY KEY (ID)) ENGINE=innodb; -CREATE TABLE ODE_SCOPE (SCOPE_ID BIGINT NOT NULL, MODEL_ID INTEGER, SCOPE_NAME VARCHAR(255), SCOPE_STATE VARCHAR(255), PROCESS_INSTANCE_ID BIGINT, PARENT_SCOPE_ID BIGINT, PRIMARY KEY (SCOPE_ID)) ENGINE=innodb; -CREATE TABLE ODE_XML_DATA (XML_DATA_ID BIGINT NOT NULL, DATA TEXT, IS_SIMPLE_TYPE BIT, NAME VARCHAR(255), SCOPE_ID BIGINT, PRIMARY KEY (XML_DATA_ID)) ENGINE=innodb; -CREATE TABLE ODE_XML_DATA_PROP (ID BIGINT NOT NULL, XML_DATA_ID BIGINT, PROP_KEY VARCHAR(255), PROP_VALUE VARCHAR(255), PRIMARY KEY (ID)) ENGINE=innodb; -CREATE TABLE OPENJPA_SEQUENCE_TABLE (ID TINYINT NOT NULL, SEQUENCE_VALUE BIGINT, PRIMARY KEY (ID)) ENGINE=innodb; -CREATE TABLE STORE_DU (NAME VARCHAR(255) NOT NULL, DEPLOYDT DATETIME, DEPLOYER VARCHAR(255), DIR VARCHAR(255), PRIMARY KEY (NAME)) ENGINE=innodb; -CREATE TABLE STORE_PROCESS (PID VARCHAR(255) NOT NULL, STATE VARCHAR(255), TYPE VARCHAR(255), VERSION BIGINT, DU VARCHAR(255), PRIMARY KEY (PID)) ENGINE=innodb; -CREATE TABLE STORE_PROCESS_PROP (id BIGINT NOT NULL, PROP_KEY VARCHAR(255), PROP_VAL VARCHAR(255), PRIMARY KEY (id)) ENGINE=innodb; -CREATE TABLE STORE_PROC_TO_PROP (PROCESSCONFDAOIMPL_PID VARCHAR(255), ELEMENT_ID BIGINT) ENGINE=innodb; -CREATE TABLE STORE_VERSIONS (id BIGINT NOT NULL, VERSION BIGINT, PRIMARY KEY (id)) ENGINE=innodb; -CREATE INDEX I_D_TASK_ATTACMENT ON TASK_ATTACHMENT (MESSAGE_EXCHANGE_ID); -CREATE INDEX I_D_CTVRY_INSTANCE ON ODE_ACTIVITY_RECOVERY (INSTANCE_ID); -CREATE INDEX I_D_CR_ST_SCOPE ON ODE_CORRELATION_SET (SCOPE_ID); -CREATE INDEX I_D_CRLTR_PROCESS ON ODE_CORRELATOR (PROC_ID); -CREATE INDEX I_D_CRPRP_CORRSET ON ODE_CORSET_PROP (CORRSET_ID); -CREATE INDEX I_OD_VENT_INSTANCE ON ODE_EVENT (INSTANCE_ID); -CREATE INDEX I_OD_VENT_PROCESS ON ODE_EVENT (PROCESS_ID); -CREATE INDEX I_OD_MSSG_MESSAGEEXCHANGE ON ODE_MESSAGE (MESSAGE_EXCHANGE_ID); -CREATE INDEX I_D_MSHNG_CORRELATOR ON ODE_MESSAGE_EXCHANGE (CORR_ID); -CREATE INDEX I_D_MSHNG_PARTNERLINK ON ODE_MESSAGE_EXCHANGE (PARTNER_LINK_ID); -CREATE INDEX I_D_MSHNG_PROCESS ON ODE_MESSAGE_EXCHANGE (PROCESS_ID); -CREATE INDEX I_D_MSHNG_PROCESSINST ON ODE_MESSAGE_EXCHANGE (PROCESS_INSTANCE_ID); -CREATE INDEX I_D_MSHNG_REQUEST ON ODE_MESSAGE_EXCHANGE (REQUEST_MESSAGE_ID); -CREATE INDEX I_D_MSHNG_RESPONSE ON ODE_MESSAGE_EXCHANGE (RESPONSE_MESSAGE_ID); -CREATE INDEX I_D_MS_RT_CORRELATOR ON ODE_MESSAGE_ROUTE (CORR_ID); -CREATE INDEX I_D_MS_RT_PROCESSINST ON ODE_MESSAGE_ROUTE (PROCESS_INSTANCE_ID); -CREATE INDEX I_D_MXPRP_MEX ON ODE_MEX_PROP (MEX_ID); -CREATE INDEX I_D_PRLNK_SCOPE ON ODE_PARTNER_LINK (SCOPE_ID); -CREATE INDEX I_D_PRTNC_FAULT ON ODE_PROCESS_INSTANCE (FAULT_ID); -CREATE INDEX I_D_PRTNC_INSTANTIATINGCORRELATOR ON ODE_PROCESS_INSTANCE (INSTANTIATING_CORRELATOR_ID); -CREATE INDEX I_D_PRTNC_PROCESS ON ODE_PROCESS_INSTANCE (PROCESS_ID); -CREATE INDEX I_D_PRTNC_ROOTSCOPE ON ODE_PROCESS_INSTANCE (ROOT_SCOPE_ID); -CREATE INDEX I_OD_SCOP_PARENTSCOPE ON ODE_SCOPE (PARENT_SCOPE_ID); -CREATE INDEX I_OD_SCOP_PROCESSINSTANCE ON ODE_SCOPE (PROCESS_INSTANCE_ID); -CREATE INDEX I_D_XM_DT_SCOPE ON ODE_XML_DATA (SCOPE_ID); -CREATE INDEX I_D_XMPRP_XMLDATA ON ODE_XML_DATA_PROP (XML_DATA_ID); -CREATE INDEX I_STR_CSS_DU ON STORE_PROCESS (DU); -CREATE INDEX I_STR_PRP_ELEMENT ON STORE_PROC_TO_PROP (ELEMENT_ID); -CREATE INDEX I_STR_PRP_PROCESSCONFDAOIMPL_PID ON STORE_PROC_TO_PROP (PROCESSCONFDAOIMPL_PID); - - - --- --- Human Task Related SQL Scripts --- - - -CREATE TABLE HT_DEADLINE (id BIGINT NOT NULL, DEADLINE_DATE DATETIME NOT NULL, DEADLINE_NAME VARCHAR(255) NOT NULL, STATUS_TOBE_ACHIEVED VARCHAR(255) NOT NULL, TASK_ID BIGINT, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_DEPLOYMENT_UNIT (id BIGINT NOT NULL, CHECKSUM VARCHAR(255) NOT NULL, DEPLOYED_ON DATETIME, DEPLOY_DIR VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL, PACKAGE_NAME VARCHAR(255) NOT NULL, STATUS VARCHAR(255) NOT NULL, TENANT_ID BIGINT NOT NULL, VERSION BIGINT NOT NULL, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_EVENT (id BIGINT NOT NULL, EVENT_DETAILS VARCHAR(255), NEW_STATE VARCHAR(255), OLD_STATE VARCHAR(255), EVENT_TIMESTAMP DATETIME NOT NULL, EVENT_TYPE VARCHAR(255) NOT NULL, EVENT_USER VARCHAR(255) NOT NULL, TASK_ID BIGINT, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_GENERIC_HUMAN_ROLE (GHR_ID BIGINT NOT NULL, GHR_TYPE VARCHAR(255), TASK_ID BIGINT, PRIMARY KEY (GHR_ID)) ENGINE = innodb; -CREATE TABLE HT_HUMANROLE_ORGENTITY (HUMANROLE_ID BIGINT, ORGENTITY_ID BIGINT) ENGINE = innodb; -CREATE TABLE HT_JOB (id BIGINT NOT NULL, JOB_DETAILS VARCHAR(4000), JOB_NAME VARCHAR(255), NODEID VARCHAR(255), SCHEDULED VARCHAR(1) NOT NULL, TASKID BIGINT NOT NULL, JOB_TIME BIGINT NOT NULL, TRANSACTED VARCHAR(1) NOT NULL, JOB_TYPE VARCHAR(255) NOT NULL, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_MESSAGE (MESSAGE_ID BIGINT NOT NULL, MESSAGE_DATA LONGTEXT, MESSAGE_HEADER LONGTEXT, MESSAGE_TYPE VARCHAR(255), MESSAGE_NAME VARCHAR(512), TASK_ID BIGINT, PRIMARY KEY (MESSAGE_ID)) ENGINE = innodb; -CREATE TABLE HT_ORG_ENTITY (ORG_ENTITY_ID BIGINT NOT NULL, ORG_ENTITY_NAME VARCHAR(255), ORG_ENTITY_TYPE VARCHAR(255), PRIMARY KEY (ORG_ENTITY_ID)) ENGINE = innodb; -CREATE TABLE HT_PRESENTATION_ELEMENT (id BIGINT NOT NULL, PE_CONTENT VARCHAR(2000), XML_LANG VARCHAR(255), PE_TYPE VARCHAR(31), CONTENT_TYPE VARCHAR(255), TASK_ID BIGINT, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_PRESENTATION_PARAM (id BIGINT NOT NULL, PARAM_NAME VARCHAR(255), PARAM_TYPE VARCHAR(255), PARAM_VALUE VARCHAR(2000), TASK_ID BIGINT, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_TASK (id BIGINT NOT NULL, ACTIVATION_TIME DATETIME, COMPLETE_BY_TIME DATETIME, CREATED_ON DATETIME, ESCALATED VARCHAR(1), EXPIRATION_TIME DATETIME, TASK_NAME VARCHAR(255) NOT NULL, PACKAGE_NAME VARCHAR(255) NOT NULL, PRIORITY INTEGER NOT NULL, SKIPABLE VARCHAR(1), START_BY_TIME DATETIME, STATUS VARCHAR(255) NOT NULL, STATUS_BEFORE_SUSPENSION VARCHAR(255), TASK_DEF_NAME VARCHAR(255) NOT NULL, TASK_VERSION BIGINT NOT NULL, TENANT_ID INTEGER NOT NULL, TASK_TYPE VARCHAR(255) NOT NULL, UPDATED_ON DATETIME, FAILURE_MESSAGE BIGINT, INPUT_MESSAGE BIGINT, OUTPUT_MESSAGE BIGINT, PARENTTASK_ID BIGINT, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_TASK_ATTACHMENT (id BIGINT NOT NULL, ACCESS_TYPE VARCHAR(255), ATTACHED_AT DATETIME, CONTENT_TYPE VARCHAR(255), ATTACHMENT_NAME VARCHAR(255), ATTACHMENT_VALUE VARCHAR(255), TASK_ID BIGINT, ATTACHED_BY BIGINT, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_TASK_COMMENT (id BIGINT NOT NULL, COMMENT_TEXT VARCHAR(4000), COMMENTED_BY VARCHAR(100), COMMENTED_ON DATETIME, MODIFIED_BY VARCHAR(100), MODIFIED_ON DATETIME, TASK_ID BIGINT, PRIMARY KEY (id)) ENGINE = innodb; -CREATE TABLE HT_VERSIONS (id BIGINT NOT NULL, TASK_VERSION BIGINT NOT NULL, PRIMARY KEY (id)) ENGINE = innodb; -CREATE INDEX I_HT_DDLN_TASK ON HT_DEADLINE (TASK_ID); -CREATE INDEX I_HT_VENT_TASK ON HT_EVENT (TASK_ID); -CREATE INDEX I_HT_G_RL_TASK ON HT_GENERIC_HUMAN_ROLE (TASK_ID); -CREATE INDEX I_HT_HTTY_ELEMENT ON HT_HUMANROLE_ORGENTITY (ORGENTITY_ID); -CREATE INDEX I_HT_HTTY_HUMANROLE_ID ON HT_HUMANROLE_ORGENTITY (HUMANROLE_ID); -CREATE INDEX I_HT_MSSG_TASK ON HT_MESSAGE (TASK_ID); -CREATE INDEX I_HT_PMNT_DTYPE ON HT_PRESENTATION_ELEMENT (PE_TYPE); -CREATE INDEX I_HT_PMNT_TASK ON HT_PRESENTATION_ELEMENT (TASK_ID); -CREATE INDEX I_HT_PPRM_TASK ON HT_PRESENTATION_PARAM (TASK_ID); -CREATE INDEX I_HT_TASK_FAILUREMESSAGE ON HT_TASK (FAILURE_MESSAGE); -CREATE INDEX I_HT_TASK_INPUTMESSAGE ON HT_TASK (INPUT_MESSAGE); -CREATE INDEX I_HT_TASK_OUTPUTMESSAGE ON HT_TASK (OUTPUT_MESSAGE); -CREATE INDEX I_HT_TASK_PARENTTASK ON HT_TASK (PARENTTASK_ID); -CREATE INDEX I_HT_TMNT_ATTACHEDBY ON HT_TASK_ATTACHMENT (ATTACHED_BY); -CREATE INDEX I_HT_TMNT_TASK ON HT_TASK_ATTACHMENT (TASK_ID); -CREATE INDEX I_HT_TMNT_TASK1 ON HT_TASK_COMMENT (TASK_ID); - --- --- Attachment Management Related SQL Scripts --- -CREATE TABLE ATTACHMENT ( - id BIGINT NOT NULL AUTO_INCREMENT, - CREATED_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, - ATTACHMENT_NAME VARCHAR(255) NOT NULL, - CREATED_BY VARCHAR(255) NOT NULL, - CONTENT_TYPE VARCHAR(255) NOT NULL, - ATTACHMENT_URL VARCHAR(2048) NOT NULL, - ATTACHMENT_CONTENT BLOB, - PRIMARY KEY (id)); - --- CREATE INDEX I_ATTACHMENT_URL ON ATTACHMENT (ATTACHMENT_URL); - - --- --- B4P Related SQL Scripts --- -CREATE TABLE HT_COORDINATION_DATA (MESSAGE_ID VARCHAR(255) NOT NULL, PROCESS_INSTANCE_ID VARCHAR(255), PROTOCOL_HANDlER_URL VARCHAR(255) NOT NULL, TASK_ID VARCHAR(255), PRIMARY KEY (MESSAGE_ID)) ENGINE = innodb; diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/dbscripts/bps/bpel/create/wso-bpel-mysql-createdb.sql b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/dbscripts/bps/bpel/create/wso-bpel-mysql-createdb.sql deleted file mode 100644 index 16dca47..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/dbscripts/bps/bpel/create/wso-bpel-mysql-createdb.sql +++ /dev/null @@ -1,31 +0,0 @@ --- --- Copyright 2016 ZTE Corporation. --- --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. --- - -/******************drop old database and user***************************/ -use mysql; -drop database IF EXISTS wso_bpel; -delete from user where User='wso_bpel'; -FLUSH PRIVILEGES; - -/******************create new database and user***************************/ -create database wso_bpel CHARACTER SET utf8; - -GRANT ALL PRIVILEGES ON wso_bpel.* TO 'wso_bpel'@'%' IDENTIFIED BY 'wso_bpel' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON mysql.* TO 'wso_bpel'@'%' IDENTIFIED BY 'wso_bpel' WITH GRANT OPTION; - -GRANT ALL PRIVILEGES ON wso_bpel.* TO 'wso_bpel'@'localhost' IDENTIFIED BY 'wso_bpel' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON mysql.* TO 'wso_bpel'@'localhost' IDENTIFIED BY 'wso_bpel' WITH GRANT OPTION; -FLUSH PRIVILEGES;
\ No newline at end of file diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/bps.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/bps.xml deleted file mode 100644 index 1e09356..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/bps.xml +++ /dev/null @@ -1,174 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. - ~ - ~ WSO2 Inc. licenses this file to you under the Apache License, - ~ Version 2.0 (the "License"); you may not use this file except - ~ in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --> -<tns:WSO2BPS xmlns:tns="http://wso2.org/bps/config"> - <!-- Database Configuration for WSO2 BPS BPEL Engine's Persistence Storage --> - <tns:DataBaseConfig> - <!-- Data source configuration. Use data sources created in data sources component. --> - <tns:DataSource name="bpsds"> - <!--tns:JNDI contextFactory="com.sun.jndi.rmi.registry.RegistryContextFactory" providerURL="rmi://localhost:2199"/--> - </tns:DataSource> - </tns:DataBaseConfig> - - <tns:ExtensionBundles> - <tns:runtimes> - <tns:runtime class="de.unistuttgart.iaas.bpel.extensions.bpel4restlight.Bpel4RestLightExtensionBundle"/> - </tns:runtimes> - </tns:ExtensionBundles> - - - <!-- Process dehydration configuration --> - <!--<tns:ProcessDehydration maxCount="0" value="true"> - <tns:MaxAge value="0"/> - </tns:ProcessDehydration>--> - - <!--<tns:TransactionFactory class=""/>--> - - <!-- BPEL Event Listeners. They must implement BPELEventListener interface --> - <!--<tns:EventListeners> - <tns:listener class="org.wso2.bps.SampleEventListener"/> - </tns:EventListeners>--> - - <!--tns:EventListeners> - <tns:listener class="org.wso2.carbon.bpel.core.ode.integration.jmx.JmxBpelEventListener"/> - </tns:EventListeners--> - - <!-- BPEL Message Exchange Interceptors. Used to track and handle incoming and out going - Messages from BPEL Processes. - --> - <!--<tns:MexInterceptors> - <tns:interceptor class=""/> - </tns:MexInterceptors>--> - - <!-- BPEL Extensions --> - <!--<tns:ExtensionBundles> - <tns:runtimes> - <tns:runtime class="org.wso2.bps.SampleExtensionRuntime"/> - </tns:runtimes> - <tns:filters> - <tns:filter class="org.wso2.bps.SampleCorrelationFilter"/> - </tns:filters> - </tns:ExtensionBundles>--> - - <!-- OpenJPA specific configuration properties --> - <tns:OpenJPAConfig> - <tns:property name="openjpa.FlushBeforeQueries" value="true"/> - <tns:property name="openjpa.TransactionMode" value="local"/> - </tns:OpenJPAConfig> - - <!-- Message exchange timeout. Default value is 120000ms --> - <!--<tns:MexTimeOut value="120000"/>--> - - <!-- External Service invocation timeout. Default value is 60000ms --> - <!--<tns:ExternalServiceTimeOut value="60000"/>--> - - <!-- MultithreadedHttpConnectionManager tuning parameters --> - <tns:MultithreadedHttpConnectionManagerConfig> - <tns:maxConnectionsPerHost value="20"/> - <tns:maxTotalConnections value="100"/> - <!--<tns:connectionKeepAlive value="false"/> --> - </tns:MultithreadedHttpConnectionManagerConfig> - - <!-- Process instance cleanup feature in WSO2 Business Process Server - allows you to configure periodic process instance cleanup tasks based - on various process instance properties to remove process instance data - from WSO2 BPS persistence storage. - Refer - http://www.quartz-scheduler.org/docs/tutorials/crontrigger.html to - declare cron expressions format - Following sample configuration schedule a cleanup task at 5:11 PM every day - to clean completed process instances. - --> - <!--<tns:Schedules> - <tns:Schedule when="0 11 17 * * ?"> - <tns:cleanup> - <tns:filter><![CDATA[status=completed]]></tns:filter> - </tns:cleanup> - </tns:Schedule> - </tns:Schedules>--> - - <!-- By default all the BPEL packages are read from the file system. If you need to Synchronize - the file system bpel repository with set the following parameter to true. This will check the - timestamp of the BPEL packages in the file system against the BPEL packages in the registry. If - they do not match then the BPEL package in the registry is copied to the file system. --> - <!--<tns:SyncWithRegistry>false</tns:SyncWithRegistry>--> - - <!-- The property InMemoryInstanceTimeToLive may be used to limit the time-to-live of in-memory instances. - This setting can be useful to avoid memory leaks related to in-memory processes that may get - 'stuck' during execution and never terminate (time should be specified in milliseconds) --> - <!--tns:InMemoryInstanceTimeToLive>600000</tns:InMemoryInstanceTimeToLive--> - - <!-- This property can be used to configure ode scheduler thread pool size --> - <tns:ODESchedulerThreadPoolSize>50</tns:ODESchedulerThreadPoolSize> - - <!-- If you are using BPS in a clustered environment, then uncomment blow entry --> - <!-- <tns:UseDistributedLock>true</tns:UseDistributedLock> --> - - <!-- <tns:UseInstanceStateCache>true</tns:UseInstanceStateCache> --> - - <!-- You can assign a unique id for each node in the cluster using NodeId property --> - <!-- <tns:NodeId></tns:NodeId> --> - - <!-- Simple Scheduler related configuration --> - <!--<tns:ODESchedulerConfiguration>--> - <!-- Maximum number of jobs in the "near future" todo queue. --> - <!--<tns:ODESchedulerQueueLength>10000</tns:ODESchedulerQueueLength>--> - - <!--Jobs scheduled with a time that is between [now, now+immediateInterval] will be assigned to the current node, - and placed directly on the todo queue. time in ms--> - <!--<tns:ODESchedulerImmediateInterval>30000</tns:ODESchedulerImmediateInterval>--> - - <!--Jobs scheduled with a time that is between (now+immediateInterval,now+nearFutureInterval) will be assigned to the current - node, but will not be placed on the todo queue (the promoter will pick them up). time in ms --> - <!--<tns:ODESchedulerNearFutureInterval>600000</tns:ODESchedulerNearFutureInterval>--> - - <!-- Stale node check interval in ms--> - <!--<tns:ODESchedulerStaleInterval>10000</tns:ODESchedulerStaleInterval>--> - - <!-- Estimated sustained transaction per second capacity of the system. - e.g. 100 means the system can process 100 jobs per seconds, on average - This number is used to determine how many jobs to load from the database at once.--> - <!--<tns:ODESchedulerTransactionsPerSecond>100</tns:ODESchedulerTransactionsPerSecond>--> - - <!-- Duration used to log a warning if a job scheduled at a date D is queued at D'>D+_warningDelay --> - <!--<tns:ODESchedulerWarningDelay>300000</tns:ODESchedulerWarningDelay>--> - - <!-- Number of immediate retries when the transaction fails --> - <!--<tns:ODESchedulerImmediateTransactionRetryLimit>3</tns:ODESchedulerImmediateTransactionRetryLimit>--> - - <!-- Interval between immediate retries when the transaction fails --> - <!--<tns:ODESchedulerImmediateTransactionRetryInterval>1000</tns:ODESchedulerImmediateTransactionRetryInterval>--> - - <!-- End of Simple Scheduler related configuration --> - <!--</tns:ODESchedulerConfiguration>--> - - <!--Configurations for BPEL UI--> - <tns:BpelUI> - <!--Set the maximum value size for a variable in a instance view in kilobytes,--> - <!--higher sizes may slowdown the instance view rendering. Default size is 1000KB.--> - <!--Please note that this only limits the displayed variable content size.--> - <!--<tns:InstanceViewVariableLength>1000</tns:InstanceViewVariableLength>--> - - <!--This property specify the maximum number of BPEL process instances that can be deleted in a single delete instance--> - <!--request. Default value is 1000. Increase this with caution. It may result in various timeout exceptions.--> - <!--<tns:BpelInstanceDeletionLimit>1000</tns:BpelInstanceDeletionLimit>--> - </tns:BpelUI> - - <!--Timeout for the BPEL Transaction Manager in seconds. Default is 10 minutes--> - <!--<tns:TransactionManagerTimeout></tns:TransactionManagerTimeout>--> - -</tns:WSO2BPS> diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/carbon/bps.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/carbon/bps.xml deleted file mode 100644 index 1e09356..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/carbon/bps.xml +++ /dev/null @@ -1,174 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. - ~ - ~ WSO2 Inc. licenses this file to you under the Apache License, - ~ Version 2.0 (the "License"); you may not use this file except - ~ in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --> -<tns:WSO2BPS xmlns:tns="http://wso2.org/bps/config"> - <!-- Database Configuration for WSO2 BPS BPEL Engine's Persistence Storage --> - <tns:DataBaseConfig> - <!-- Data source configuration. Use data sources created in data sources component. --> - <tns:DataSource name="bpsds"> - <!--tns:JNDI contextFactory="com.sun.jndi.rmi.registry.RegistryContextFactory" providerURL="rmi://localhost:2199"/--> - </tns:DataSource> - </tns:DataBaseConfig> - - <tns:ExtensionBundles> - <tns:runtimes> - <tns:runtime class="de.unistuttgart.iaas.bpel.extensions.bpel4restlight.Bpel4RestLightExtensionBundle"/> - </tns:runtimes> - </tns:ExtensionBundles> - - - <!-- Process dehydration configuration --> - <!--<tns:ProcessDehydration maxCount="0" value="true"> - <tns:MaxAge value="0"/> - </tns:ProcessDehydration>--> - - <!--<tns:TransactionFactory class=""/>--> - - <!-- BPEL Event Listeners. They must implement BPELEventListener interface --> - <!--<tns:EventListeners> - <tns:listener class="org.wso2.bps.SampleEventListener"/> - </tns:EventListeners>--> - - <!--tns:EventListeners> - <tns:listener class="org.wso2.carbon.bpel.core.ode.integration.jmx.JmxBpelEventListener"/> - </tns:EventListeners--> - - <!-- BPEL Message Exchange Interceptors. Used to track and handle incoming and out going - Messages from BPEL Processes. - --> - <!--<tns:MexInterceptors> - <tns:interceptor class=""/> - </tns:MexInterceptors>--> - - <!-- BPEL Extensions --> - <!--<tns:ExtensionBundles> - <tns:runtimes> - <tns:runtime class="org.wso2.bps.SampleExtensionRuntime"/> - </tns:runtimes> - <tns:filters> - <tns:filter class="org.wso2.bps.SampleCorrelationFilter"/> - </tns:filters> - </tns:ExtensionBundles>--> - - <!-- OpenJPA specific configuration properties --> - <tns:OpenJPAConfig> - <tns:property name="openjpa.FlushBeforeQueries" value="true"/> - <tns:property name="openjpa.TransactionMode" value="local"/> - </tns:OpenJPAConfig> - - <!-- Message exchange timeout. Default value is 120000ms --> - <!--<tns:MexTimeOut value="120000"/>--> - - <!-- External Service invocation timeout. Default value is 60000ms --> - <!--<tns:ExternalServiceTimeOut value="60000"/>--> - - <!-- MultithreadedHttpConnectionManager tuning parameters --> - <tns:MultithreadedHttpConnectionManagerConfig> - <tns:maxConnectionsPerHost value="20"/> - <tns:maxTotalConnections value="100"/> - <!--<tns:connectionKeepAlive value="false"/> --> - </tns:MultithreadedHttpConnectionManagerConfig> - - <!-- Process instance cleanup feature in WSO2 Business Process Server - allows you to configure periodic process instance cleanup tasks based - on various process instance properties to remove process instance data - from WSO2 BPS persistence storage. - Refer - http://www.quartz-scheduler.org/docs/tutorials/crontrigger.html to - declare cron expressions format - Following sample configuration schedule a cleanup task at 5:11 PM every day - to clean completed process instances. - --> - <!--<tns:Schedules> - <tns:Schedule when="0 11 17 * * ?"> - <tns:cleanup> - <tns:filter><![CDATA[status=completed]]></tns:filter> - </tns:cleanup> - </tns:Schedule> - </tns:Schedules>--> - - <!-- By default all the BPEL packages are read from the file system. If you need to Synchronize - the file system bpel repository with set the following parameter to true. This will check the - timestamp of the BPEL packages in the file system against the BPEL packages in the registry. If - they do not match then the BPEL package in the registry is copied to the file system. --> - <!--<tns:SyncWithRegistry>false</tns:SyncWithRegistry>--> - - <!-- The property InMemoryInstanceTimeToLive may be used to limit the time-to-live of in-memory instances. - This setting can be useful to avoid memory leaks related to in-memory processes that may get - 'stuck' during execution and never terminate (time should be specified in milliseconds) --> - <!--tns:InMemoryInstanceTimeToLive>600000</tns:InMemoryInstanceTimeToLive--> - - <!-- This property can be used to configure ode scheduler thread pool size --> - <tns:ODESchedulerThreadPoolSize>50</tns:ODESchedulerThreadPoolSize> - - <!-- If you are using BPS in a clustered environment, then uncomment blow entry --> - <!-- <tns:UseDistributedLock>true</tns:UseDistributedLock> --> - - <!-- <tns:UseInstanceStateCache>true</tns:UseInstanceStateCache> --> - - <!-- You can assign a unique id for each node in the cluster using NodeId property --> - <!-- <tns:NodeId></tns:NodeId> --> - - <!-- Simple Scheduler related configuration --> - <!--<tns:ODESchedulerConfiguration>--> - <!-- Maximum number of jobs in the "near future" todo queue. --> - <!--<tns:ODESchedulerQueueLength>10000</tns:ODESchedulerQueueLength>--> - - <!--Jobs scheduled with a time that is between [now, now+immediateInterval] will be assigned to the current node, - and placed directly on the todo queue. time in ms--> - <!--<tns:ODESchedulerImmediateInterval>30000</tns:ODESchedulerImmediateInterval>--> - - <!--Jobs scheduled with a time that is between (now+immediateInterval,now+nearFutureInterval) will be assigned to the current - node, but will not be placed on the todo queue (the promoter will pick them up). time in ms --> - <!--<tns:ODESchedulerNearFutureInterval>600000</tns:ODESchedulerNearFutureInterval>--> - - <!-- Stale node check interval in ms--> - <!--<tns:ODESchedulerStaleInterval>10000</tns:ODESchedulerStaleInterval>--> - - <!-- Estimated sustained transaction per second capacity of the system. - e.g. 100 means the system can process 100 jobs per seconds, on average - This number is used to determine how many jobs to load from the database at once.--> - <!--<tns:ODESchedulerTransactionsPerSecond>100</tns:ODESchedulerTransactionsPerSecond>--> - - <!-- Duration used to log a warning if a job scheduled at a date D is queued at D'>D+_warningDelay --> - <!--<tns:ODESchedulerWarningDelay>300000</tns:ODESchedulerWarningDelay>--> - - <!-- Number of immediate retries when the transaction fails --> - <!--<tns:ODESchedulerImmediateTransactionRetryLimit>3</tns:ODESchedulerImmediateTransactionRetryLimit>--> - - <!-- Interval between immediate retries when the transaction fails --> - <!--<tns:ODESchedulerImmediateTransactionRetryInterval>1000</tns:ODESchedulerImmediateTransactionRetryInterval>--> - - <!-- End of Simple Scheduler related configuration --> - <!--</tns:ODESchedulerConfiguration>--> - - <!--Configurations for BPEL UI--> - <tns:BpelUI> - <!--Set the maximum value size for a variable in a instance view in kilobytes,--> - <!--higher sizes may slowdown the instance view rendering. Default size is 1000KB.--> - <!--Please note that this only limits the displayed variable content size.--> - <!--<tns:InstanceViewVariableLength>1000</tns:InstanceViewVariableLength>--> - - <!--This property specify the maximum number of BPEL process instances that can be deleted in a single delete instance--> - <!--request. Default value is 1000. Increase this with caution. It may result in various timeout exceptions.--> - <!--<tns:BpelInstanceDeletionLimit>1000</tns:BpelInstanceDeletionLimit>--> - </tns:BpelUI> - - <!--Timeout for the BPEL Transaction Manager in seconds. Default is 10 minutes--> - <!--<tns:TransactionManagerTimeout></tns:TransactionManagerTimeout>--> - -</tns:WSO2BPS> diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/carbon/carbon.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/carbon/carbon.xml deleted file mode 100644 index 6973b7c..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/carbon/carbon.xml +++ /dev/null @@ -1,683 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<!-- - This is the main server configuration file - - ${carbon.home} represents the carbon.home system property. - Other system properties can be specified in a similar manner. ---> -<Server xmlns="http://wso2.org/projects/carbon/carbon.xml"> - - <!-- - Product Name - --> - <Name>WSO2 Business Process Server</Name> - - <!-- - machine readable unique key to identify each product - --> - <ServerKey>BPS</ServerKey> - - <!-- - Product Version - --> - <Version>3.5.0</Version> - - <!-- - Host name or IP address of the machine hosting this server - e.g. www.wso2.org, 192.168.1.10 - This is will become part of the End Point Reference of the - services deployed on this server instance. - --> - <!--HostName>www.wso2.org</HostName--> - - <!-- - Host name to be used for the Carbon management console - --> - <!--MgtHostName>mgt.wso2.org</MgtHostName--> - - <!-- - The URL of the back end server. This is where the admin services are hosted and - will be used by the clients in the front end server. - This is required only for the Front-end server. This is used when seperating BE server from FE server - --> - <ServerURL>local:/${carbon.context}/services/</ServerURL> - <!-- - <ServerURL>https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/</ServerURL> - --> - <!-- - The URL of the index page. This is where the user will be redirected after signing in to the - carbon server. - --> - <!-- IndexPageURL>/carbon/admin/index.jsp</IndexPageURL--> - - <!-- - For cApp deployment, we have to identify the roles that can be acted by the current server. - The following property is used for that purpose. Any number of roles can be defined here. - Regular expressions can be used in the role. - Ex : <Role>.*</Role> means this server can act any role - --> - <ServerRoles> - <Role>BusinessProcessServer</Role> - </ServerRoles> - - <!-- uncommnet this line to subscribe to a bam instance automatically --> - <!--<BamServerURL>https://bamhost:bamport/services/</BamServerURL>--> - - <!-- - The fully qualified name of the server - --> - <Package>org.wso2.carbon</Package> - - <!-- - Webapp context root of WSO2 Carbon management console. - --> - <WebContextRoot>/</WebContextRoot> - - <!-- - Proxy context path is a useful parameter to add a proxy path when a Carbon server is fronted by reverse proxy. In addtion - to the proxy host and proxy port this parameter allows you add a path component to external URLs. e.g. - URL of the Carbon server -> https://10.100.1.1:9443/carbon - URL of the reverse proxy -> https://prod.abc.com/appserver/carbon - - appserver - proxy context path. This specially required whenever you are generating URLs to displace in - Carbon UI components. - --> - <!-- - <MgtProxyContextPath></MgtProxyContextPath> - <ProxyContextPath></ProxyContextPath> - --> - - <!-- In-order to get the registry http Port from the back-end when the default http transport is not the same--> - <!--RegistryHttpPort>9763</RegistryHttpPort--> - - <!-- - Number of items to be displayed on a management console page. This is used at the - backend server for pagination of various items. - --> - <ItemsPerPage>15</ItemsPerPage> - - <!-- The endpoint URL of the cloud instance management Web service --> - <!--<InstanceMgtWSEndpoint>https://ec2.amazonaws.com/</InstanceMgtWSEndpoint>--> - - <!-- - Ports used by this server - --> - <Ports> - - <!-- Ports offset. This entry will set the value of the ports defined below to - the define value + Offset. - e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445 - --> - <Offset>0</Offset> - - <!-- The JMX Ports --> - <JMX> - <!--The port RMI registry is exposed--> - <RMIRegistryPort>9999</RMIRegistryPort> - <!--The port RMI server should be exposed--> - <RMIServerPort>11111</RMIServerPort> - </JMX> - - <!-- Embedded LDAP server specific ports --> - <EmbeddedLDAP> - <!-- Port which embedded LDAP server runs --> - <LDAPServerPort>10389</LDAPServerPort> - <!-- Port which KDC (Kerberos Key Distribution Center) server runs --> - <KDCServerPort>8000</KDCServerPort> - </EmbeddedLDAP> - - <!-- - Override datasources JNDIproviderPort defined in bps.xml and datasources.properties files - --> - <!--<JNDIProviderPort>2199</JNDIProviderPort>--> - <!--Override receive port of thrift based entitlement service.--> - <ThriftEntitlementReceivePort>10500</ThriftEntitlementReceivePort> - - </Ports> - - <!-- - JNDI Configuration - --> - <JNDI> - <!-- - The fully qualified name of the default initial context factory - --> - <DefaultInitialContextFactory>org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory</DefaultInitialContextFactory> - <!-- - The restrictions that are done to various JNDI Contexts in a Multi-tenant environment - --> - <Restrictions> - <!-- - Contexts that will be available only to the super-tenant - --> - <!-- <SuperTenantOnly> - <UrlContexts> - <UrlContext> - <Scheme>foo</Scheme> - </UrlContext> - <UrlContext> - <Scheme>bar</Scheme> - </UrlContext> - </UrlContexts> - </SuperTenantOnly> --> - <!-- - Contexts that are common to all tenants - --> - <AllTenants> - <UrlContexts> - <UrlContext> - <Scheme>java</Scheme> - </UrlContext> - <!-- <UrlContext> - <Scheme>foo</Scheme> - </UrlContext> --> - </UrlContexts> - </AllTenants> - <!-- - All other contexts not mentioned above will be available on a per-tenant basis - (i.e. will not be shared among tenants) - --> - </Restrictions> - </JNDI> - - <!-- - Property to determine if the server is running an a cloud deployment environment. - This property should only be used to determine deployment specific details that are - applicable only in a cloud deployment, i.e when the server deployed *-as-a-service. - --> - <IsCloudDeployment>false</IsCloudDeployment> - - <!-- - Property to determine whether usage data should be collected for metering purposes - --> - <EnableMetering>false</EnableMetering> - - <!-- The Max time a thread should take for execution in seconds --> - <MaxThreadExecutionTime>600</MaxThreadExecutionTime> - - <!-- - A flag to enable or disable Ghost Deployer. By default this is set to false. That is - because the Ghost Deployer works only with the HTTP/S transports. If you are using - other transports, don't enable Ghost Deployer. - --> - <GhostDeployment> - <Enabled>false</Enabled> - </GhostDeployment> - - - <!-- - Eager loading or lazy loading is a design pattern commonly used in computer programming which - will initialize an object upon creation or load on-demand. In carbon, lazy loading is used to - load tenant when a request is received only. Similarly Eager loading is used to enable load - existing tenants after carbon server starts up. Using this feature, you will be able to include - or exclude tenants which are to be loaded when server startup. - - We can enable only one LoadingPolicy at a given time. - - 1. Tenant Lazy Loading - This is the default behaviour and enabled by default. With this policy, tenants are not loaded at - server startup, but loaded based on-demand (i.e when a request is received for a tenant). - The default tenant idle time is 30 minutes. - - 2. Tenant Eager Loading - This is by default not enabled. It can be be enabled by un-commenting the <EagerLoading> section. - The eager loading configurations supported are as below. These configurations can be given as the - value for <Include> element with eager loading. - (i)Load all tenants when server startup - * - (ii)Load all tenants except foo.com & bar.com - *,!foo.com,!bar.com - (iii)Load only foo.com & bar.com to be included - foo.com,bar.com - --> - <Tenant> - <LoadingPolicy> - <LazyLoading> - <IdleTime>30</IdleTime> - </LazyLoading> - <!-- <EagerLoading> - <Include>*,!foo.com,!bar.com</Include> - </EagerLoading>--> - </LoadingPolicy> - </Tenant> - - <!-- - Caching related configurations - --> - <Cache> - <!-- Default cache timeout in minutes --> - <DefaultCacheTimeout>15</DefaultCacheTimeout> - </Cache> - - <!-- - Axis2 related configurations - --> - <Axis2Config> - <!-- - Location of the Axis2 Services & Modules repository - - This can be a directory in the local file system, or a URL. - - e.g. - 1. /home/wso2wsas/repository/ - An absolute path - 2. repository - In this case, the path is relative to CARBON_HOME - 3. file:///home/wso2wsas/repository/ - 4. http://wso2wsas/repository/ - --> - <RepositoryLocation>${carbon.home}/repository/deployment/server/</RepositoryLocation> - - <!-- - Deployment update interval in seconds. This is the interval between repository listener - executions. - --> - <DeploymentUpdateInterval>15</DeploymentUpdateInterval> - - <!-- - Location of the main Axis2 configuration descriptor file, a.k.a. axis2.xml file - - This can be a file on the local file system, or a URL - - e.g. - 1. /home/repository/axis2.xml - An absolute path - 2. conf/axis2.xml - In this case, the path is relative to CARBON_HOME - 3. file:///home/carbon/repository/axis2.xml - 4. http://repository/conf/axis2.xml - --> - <ConfigurationFile>${carbon.home}/repository/conf/axis2/axis2.xml</ConfigurationFile> - - <!-- - ServiceGroupContextIdleTime, which will be set in ConfigurationContex - for multiple clients which are going to access the same ServiceGroupContext - Default Value is 30 Sec. - --> - <ServiceGroupContextIdleTime>30000</ServiceGroupContextIdleTime> - - <!-- - This repository location is used to crete the client side configuration - context used by the server when calling admin services. - --> - <ClientRepositoryLocation>${carbon.home}/repository/deployment/client/</ClientRepositoryLocation> - <!-- This axis2 xml is used in createing the configuration context by the FE server - calling to BE server --> - <clientAxis2XmlLocation>${carbon.home}/repository/conf/axis2/axis2_client.xml</clientAxis2XmlLocation> - <!-- If this parameter is set, the ?wsdl on an admin service will not give the admin service wsdl. --> - <HideAdminServiceWSDLs>false</HideAdminServiceWSDLs> - - <!--WARNING-Use With Care! Uncommenting bellow parameter would expose all AdminServices in HTTP transport. - With HTTP transport your credentials and data routed in public channels are vulnerable for sniffing attacks. - Use bellow parameter ONLY if your communication channels are confirmed to be secured by other means --> - <!--HttpAdminServices>*</HttpAdminServices--> - - </Axis2Config> - - <!-- - The default user roles which will be created when the server - is started up for the first time. - --> - <ServiceUserRoles> - <Role> - <Name>admin</Name> - <Description>Default Administrator Role</Description> - </Role> - <Role> - <Name>user</Name> - <Description>Default User Role</Description> - </Role> - </ServiceUserRoles> - - <!-- - Enable following config to allow Emails as usernames. - --> - <!--EnableEmailUserName>true</EnableEmailUserName--> - - <!-- - Security configurations - --> - <Security> - <!-- - KeyStore which will be used for encrypting/decrypting passwords - and other sensitive information. - --> - <KeyStore> - <!-- Keystore file location--> - <Location>${carbon.home}/repository/resources/security/wso2carbon.jks</Location> - <!-- Keystore type (JKS/PKCS12 etc.)--> - <Type>JKS</Type> - <!-- Keystore password--> - <Password>wso2carbon</Password> - <!-- Private Key alias--> - <KeyAlias>wso2carbon</KeyAlias> - <!-- Private Key password--> - <KeyPassword>wso2carbon</KeyPassword> - </KeyStore> - - <!-- - System wide trust-store which is used to maintain the certificates of all - the trusted parties. - --> - <TrustStore> - <!-- trust-store file location --> - <Location>${carbon.home}/repository/resources/security/client-truststore.jks</Location> - <!-- trust-store type (JKS/PKCS12 etc.) --> - <Type>JKS</Type> - <!-- trust-store password --> - <Password>wso2carbon</Password> - </TrustStore> - - <!-- - The Authenticator configuration to be used at the JVM level. We extend the - java.net.Authenticator to make it possible to authenticate to given servers and - proxies. - --> - <NetworkAuthenticatorConfig> - <!-- - Below is a sample configuration for a single authenticator. Please note that - all child elements are mandatory. Not having some child elements would lead to - exceptions at runtime. - --> - <!-- <Credential> --> - <!-- - the pattern that would match a subset of URLs for which this authenticator - would be used - --> - <!-- <Pattern>regularExpression</Pattern> --> - <!-- - the type of this authenticator. Allowed values are: - 1. server - 2. proxy - --> - <!-- <Type>proxy</Type> --> - <!-- the username used to log in to server/proxy --> - <!-- <Username>username</Username> --> - <!-- the password used to log in to server/proxy --> - <!-- <Password>password</Password> --> - <!-- </Credential> --> - </NetworkAuthenticatorConfig> - - <!-- - The Tomcat realm to be used for hosted Web applications. Allowed values are; - 1. UserManager - 2. Memory - - If this is set to 'UserManager', the realm will pick users & roles from the system's - WSO2 User Manager. If it is set to 'memory', the realm will pick users & roles from - CARBON_HOME/repository/conf/tomcat/tomcat-users.xml - --> - <TomcatRealm>UserManager</TomcatRealm> - - <!--Option to disable storing of tokens issued by STS--> - <DisableTokenStore>false</DisableTokenStore> - - <!-- - Security token store class name. If this is not set, default class will be - org.wso2.carbon.security.util.SecurityTokenStore - --> - <!--TokenStoreClassName>org.wso2.carbon.identity.sts.store.DBTokenStore</TokenStoreClassName--> - - <!--CSRFPreventionConfig> - <Enabled>true</Enabled> - <Rule>allow</Rule> - - <Patterns> - <Pattern>carbon</Pattern> - <Pattern>commonauth</Pattern> - <Pattern>samlsso</Pattern> - <Pattern>authenticationendpoint</Pattern> - <Pattern>wso2</Pattern> - <Pattern>oauth2</Pattern> - <Pattern>openid</Pattern> - <Pattern>openidserver</Pattern> - <Pattern>passivests</Pattern> - <Pattern>services</Pattern> - </Patterns> - - <WhiteList> - <Url>https://localhost:9443</Url> - </WhiteList> - </CSRFPreventionConfig> - - <XSSPreventionConfig> - <Enabled>true</Enabled> - </XSSPreventionConfig--> - - </Security> - - <!-- - The temporary work directory - --> - <WorkDirectory>${carbon.home}/tmp/work</WorkDirectory> - - <!-- - House-keeping configuration - --> - <HouseKeeping> - - <!-- - true - Start House-keeping thread on server startup - false - Do not start House-keeping thread on server startup. - The user will run it manually as and when he wishes. - --> - <AutoStart>true</AutoStart> - - <!-- - The interval in *minutes*, between house-keeping runs - --> - <Interval>10</Interval> - - <!-- - The maximum time in *minutes*, temp files are allowed to live - in the system. Files/directories which were modified more than - "MaxTempFileLifetime" minutes ago will be removed by the - house-keeping task - --> - <MaxTempFileLifetime>30</MaxTempFileLifetime> - </HouseKeeping> - - <!-- - Configuration for handling different types of file upload & other file uploading related - config parameters. - To map all actions to a particular FileUploadExecutor, use - <Action>*</Action> - --> - <FileUploadConfig> - <!-- - The total file upload size limit in MB - --> - <TotalFileSizeLimit>100</TotalFileSizeLimit> - - <Mapping> - <Actions> - <Action>keystore</Action> - <Action>certificate</Action> - <Action>*</Action> - </Actions> - <Class>org.wso2.carbon.ui.transports.fileupload.AnyFileUploadExecutor</Class> - </Mapping> - - <Mapping> - <Actions> - <Action>jarZip</Action> - </Actions> - <Class>org.wso2.carbon.ui.transports.fileupload.JarZipUploadExecutor</Class> - </Mapping> - <Mapping> - <Actions> - <Action>dbs</Action> - </Actions> - <Class>org.wso2.carbon.ui.transports.fileupload.DBSFileUploadExecutor</Class> - </Mapping> - <Mapping> - <Actions> - <Action>tools</Action> - </Actions> - <Class>org.wso2.carbon.ui.transports.fileupload.ToolsFileUploadExecutor</Class> - </Mapping> - <Mapping> - <Actions> - <Action>toolsAny</Action> - </Actions> - <Class>org.wso2.carbon.ui.transports.fileupload.ToolsAnyFileUploadExecutor</Class> - </Mapping> - </FileUploadConfig> - - <!-- - Processors which process special HTTP GET requests such as ?wsdl, ?policy etc. - - In order to plug in a processor to handle a special request, simply add an entry to this - section. - - The value of the Item element is the first parameter in the query string(e.g. ?wsdl) - which needs special processing - - The value of the Class element is a class which implements - org.wso2.carbon.transport.HttpGetRequestProcessor - --> - <HttpGetRequestProcessors> - <Processor> - <Item>info</Item> - <Class>org.wso2.carbon.core.transports.util.InfoProcessor</Class> - </Processor> - <Processor> - <Item>wsdl</Item> - <Class>org.wso2.carbon.core.transports.util.Wsdl11Processor</Class> - </Processor> - <Processor> - <Item>wsdl2</Item> - <Class>org.wso2.carbon.core.transports.util.Wsdl20Processor</Class> - </Processor> - <Processor> - <Item>xsd</Item> - <Class>org.wso2.carbon.core.transports.util.XsdProcessor</Class> - </Processor> - </HttpGetRequestProcessors> - - <!-- Deployment Synchronizer Configuration. t Enabled value to true when running with "svn based" dep sync. - In master nodes you need to set both AutoCommit and AutoCheckout to true - and in worker nodes set only AutoCheckout to true. - --> - <DeploymentSynchronizer> - <Enabled>false</Enabled> - <AutoCommit>false</AutoCommit> - <AutoCheckout>true</AutoCheckout> - <RepositoryType>svn</RepositoryType> - <SvnUrl>http://svnrepo.example.com/repos/</SvnUrl> - <SvnUser>username</SvnUser> - <SvnPassword>password</SvnPassword> - <SvnUrlAppendTenantId>true</SvnUrlAppendTenantId> - </DeploymentSynchronizer> - - <!-- Deployment Synchronizer Configuration. Uncomment the following section when running with "registry based" dep sync. - In master nodes you need to set both AutoCommit and AutoCheckout to true - and in worker nodes set only AutoCheckout to true. - --> - <!--<DeploymentSynchronizer> - <Enabled>true</Enabled> - <AutoCommit>false</AutoCommit> - <AutoCheckout>true</AutoCheckout> - </DeploymentSynchronizer>--> - - <!-- Mediation persistence configurations. Only valid if mediation features are available i.e. ESB --> - <!--<MediationConfig> - <LoadFromRegistry>false</LoadFromRegistry> - <SaveToFile>false</SaveToFile> - <Persistence>enabled</Persistence> - <RegistryPersistence>enabled</RegistryPersistence> - </MediationConfig>--> - - <!-- - Server intializing code, specified as implementation classes of org.wso2.carbon.core.ServerInitializer. - This code will be run when the Carbon server is initialized - --> - <ServerInitializers> - <!--<Initializer></Initializer>--> - </ServerInitializers> - - <!-- - Indicates whether the Carbon Servlet is required by the system, and whether it should be - registered - --> - <RequireCarbonServlet>${require.carbon.servlet}</RequireCarbonServlet> - - <!-- - Carbon H2 OSGI Configuration - By default non of the servers start. - name="web" - Start the web server with the H2 Console - name="webPort" - The port (default: 8082) - name="webAllowOthers" - Allow other computers to connect - name="webSSL" - Use encrypted (HTTPS) connections - name="tcp" - Start the TCP server - name="tcpPort" - The port (default: 9092) - name="tcpAllowOthers" - Allow other computers to connect - name="tcpSSL" - Use encrypted (SSL) connections - name="pg" - Start the PG server - name="pgPort" - The port (default: 5435) - name="pgAllowOthers" - Allow other computers to connect - name="trace" - Print additional trace information; for all servers - name="baseDir" - The base directory for H2 databases; for all servers - --> - <!--H2DatabaseConfiguration> - <property name="web" /> - <property name="webPort">8082</property> - <property name="webAllowOthers" /> - <property name="webSSL" /> - <property name="tcp" /> - <property name="tcpPort">9092</property> - <property name="tcpAllowOthers" /> - <property name="tcpSSL" /> - <property name="pg" /> - <property name="pgPort">5435</property> - <property name="pgAllowOthers" /> - <property name="trace" /> - <property name="baseDir">${carbon.home}</property> - </H2DatabaseConfiguration--> - <!--Disabling statistics reporter by default--> - <StatisticsReporterDisabled>true</StatisticsReporterDisabled> - - <!-- Enable accessing Admin Console via HTTP --> - <!-- EnableHTTPAdminConsole>true</EnableHTTPAdminConsole --> - - <!-- - Default Feature Repository of WSO2 Carbon. - --> - <FeatureRepository> - <RepositoryName>default repository</RepositoryName> - <RepositoryURL>http://dist.wso2.org/p2/carbon/releases/4.4.1-SNAPSHOT</RepositoryURL> - </FeatureRepository> - - <!-- - Configure API Management - --> - <APIManagement> - - <!--Uses the embedded API Manager by default. If you want to use an external - API Manager instance to manage APIs, configure below externalAPIManager--> - - <Enabled>true</Enabled> - - <!--Uncomment and configure API Gateway and - Publisher URLs to use external API Manager instance--> - - <!--ExternalAPIManager> - - <APIGatewayURL>http://localhost:8281</APIGatewayURL> - <APIPublisherURL>http://localhost:8281/publisher</APIPublisherURL> - - </ExternalAPIManager--> - - <LoadAPIContextsInServerStartup>true</LoadAPIContextsInServerStartup> - </APIManagement> -</Server> diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml deleted file mode 100644 index f95cb87..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml +++ /dev/null @@ -1,32 +0,0 @@ -<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> - - <providers> - <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> - </providers> - - <datasources> - - <datasource> - <name>ACTIVITI_DB</name> - <description>The datasource used for activiti engine</description> - <jndiConfig> - <name>jdbc/ActivitiDB</name> - </jndiConfig> - <definition type="RDBMS"> - <configuration> - <url>jdbc:h2:repository/database/activiti;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url> - <username>wso2carbon</username> - <password>wso2carbon</password> - <driverClassName>org.h2.Driver</driverClassName> - <maxActive>50</maxActive> - <maxWait>60000</maxWait> - <testOnBorrow>true</testOnBorrow> - <validationQuery>SELECT 1</validationQuery> - <validationInterval>30000</validationInterval> - </configuration> - </definition> - </datasource> - - </datasources> - -</datasources-configuration> diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/bps-datasources.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/bps-datasources.xml deleted file mode 100644 index 22f79f7..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/bps-datasources.xml +++ /dev/null @@ -1,32 +0,0 @@ -<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> - - <providers> - <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> - </providers> - - <datasources> - <datasource> - <name>BPS_DS</name> - <description/> - <jndiConfig> - <name>bpsds</name> - </jndiConfig> - <definition type="RDBMS"> - <configuration> - <url>jdbc:mysql://localhost:3306/wso_bpel</url> - <username>wso_bpel</username> - <password>wso_bpel</password> - <driverClassName>com.mysql.jdbc.Driver</driverClassName> - <testOnBorrow>true</testOnBorrow> - <validationQuery>SELECT 1</validationQuery> - <validationInterval>30000</validationInterval> - <useDataSourceFactory>false</useDataSourceFactory> - <defaultAutoCommit>true</defaultAutoCommit> - <maxActive>100</maxActive> - <maxIdle>20</maxIdle> - <maxWait>10000</maxWait> - </configuration> - </definition> - </datasource> - </datasources> -</datasources-configuration> diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/master-datasources.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/master-datasources.xml deleted file mode 100644 index 897e335..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/master-datasources.xml +++ /dev/null @@ -1,68 +0,0 @@ -<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> - - <providers> - <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> - </providers> - - <datasources> - - <datasource> - <name>WSO2_CARBON_DB</name> - <description>The datasource used for registry and user manager</description> - <jndiConfig> - <name>jdbc/WSO2CarbonDB</name> - </jndiConfig> - <definition type="RDBMS"> - <configuration> - <url>jdbc:h2:repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url> - <username>wso2carbon</username> - <password>wso2carbon</password> - <driverClassName>org.h2.Driver</driverClassName> - <maxActive>50</maxActive> - <maxWait>60000</maxWait> - <testOnBorrow>true</testOnBorrow> - <validationQuery>SELECT 1</validationQuery> - <validationInterval>30000</validationInterval> - <defaultAutoCommit>false</defaultAutoCommit> - </configuration> - </definition> - </datasource> - - <!-- For an explanation of the properties, see: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html --> - <!--datasource> - <name>SAMPLE_DATA_SOURCE</name> - <jndiConfig> - <name></name> - <environment> - <property name="java.naming.factory.initial"></property> - <property name="java.naming.provider.url"></property> - </environment> - </jndiConfig> - <definition type="RDBMS"> - <configuration> - - <defaultAutoCommit></defaultAutoCommit> - <defaultReadOnly></defaultReadOnly> - <defaultTransactionIsolation>NONE|READ_COMMITTED|READ_UNCOMMITTED|REPEATABLE_READ|SERIALIZABLE</defaultTransactionIsolation> - <defaultCatalog></defaultCatalog> - <username></username> - <password svns:secretAlias="WSO2.DB.Password"></password> - <maxActive></maxActive> - <maxIdle></maxIdle> - <initialSize></initialSize> - <maxWait></maxWait> - - <dataSourceClassName>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</dataSourceClassName> - <dataSourceProps> - <property name="url">jdbc:mysql://localhost:3306/Test1</property> - <property name="user">root</property> - <property name="password">123</property> - </dataSourceProps> - - </configuration> - </definition> - </datasource--> - - </datasources> - -</datasources-configuration> diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/wso2bps-ext.properties b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/wso2bps-ext.properties deleted file mode 100644 index 02d1b6d..0000000 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/wso2bps-ext.properties +++ /dev/null @@ -1 +0,0 @@ -MSB_URL=http://127.0.0.1:80
\ No newline at end of file |