diff options
Diffstat (limited to 'wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml')
-rw-r--r-- | wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml | 32 |
1 files changed, 32 insertions, 0 deletions
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 new file mode 100644 index 0000000..f95cb87 --- /dev/null +++ b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml @@ -0,0 +1,32 @@ +<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> |