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 381ad434a2..1f7bca1d93 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 @@
- WSO2DEVICE_DB
+ jdbc/WSO2DEVICE_DB
diff --git a/product/modules/distribution/src/repository/conf/datasources/master-datasources.xml b/product/modules/distribution/src/repository/conf/datasources/master-datasources.xml
index a16e93a69c..da376108ce 100755
--- a/product/modules/distribution/src/repository/conf/datasources/master-datasources.xml
+++ b/product/modules/distribution/src/repository/conf/datasources/master-datasources.xml
@@ -4,26 +4,6 @@
-
- WSO2DEVICE_DB
- The datasource used for EMM
-
- jdbc/WSO2DEVICE_DB
-
-
-
- jdbc:h2:repository/database/WSO2DEVICE_DB;DB_CLOSE_ON_EXIT=FALSE
- wso2carbon
- wso2carbon
- org.h2.Driver
- 50
- 60000
- true
- SELECT 1
- 30000
-
-
-
WSO2_CARBON_DB
The datasource used for registry and user manager