diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/conf/mobile-config.xml b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/conf/mobile-config.xml
index 7a3963fbdb..73ca222435 100644
--- a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/conf/mobile-config.xml
+++ b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/conf/mobile-config.xml
@@ -19,7 +19,7 @@
- jdbc/WSO2MOBILE_DB
+ jdbc/MOBILE_MGT_DS
diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/src/main/resources/conf/cdm-config.xml b/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/src/main/resources/conf/cdm-config.xml
index 1f7bca1d93..87176d6383 100644
--- a/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/src/main/resources/conf/cdm-config.xml
+++ b/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/src/main/resources/conf/cdm-config.xml
@@ -18,7 +18,7 @@
- jdbc/WSO2DEVICE_DB
+ jdbc/DEVICE_MGT_DS
diff --git a/product/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml b/product/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml
index 7b02df9cdf..0797b85da8 100755
--- a/product/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml
+++ b/product/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml
@@ -5,14 +5,14 @@
- WSO2DEVICE_DB
+ DEVICE_MGT_DS
The datasource used for CDM
- jdbc/WSO2DEVICE_DB
+ jdbc/DEVICE_MGT_DS
- jdbc:h2:repository/database/WSO2DEVICE_DB;DB_CLOSE_ON_EXIT=FALSE
+ jdbc:h2:repository/database/WSO2DEVICEMGT_DB;DB_CLOSE_ON_EXIT=FALSE
wso2carbon
wso2carbon
org.h2.Driver
@@ -25,10 +25,10 @@
- WSO2MOBILE_DB
+ MOBILE_MGT_DS
The datasource used for CDM Mobile Device Management
- jdbc/WSO2MOBILE_DB
+ jdbc/MOBILE_MGT_DS
@@ -44,5 +44,25 @@
+
+ WSO2DEVICE_DB
+ The datasource used for CDM
+
+ jdbc/WSO2AM_DB
+
+
+
+ jdbc:h2:repository/database/WSO2AM_DB;DB_CLOSE_ON_EXIT=FALSE
+ wso2carbon
+ wso2carbon
+ org.h2.Driver
+ 50
+ 60000
+ true
+ SELECT 1
+ 30000
+
+
+