diff --git a/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/pom.xml b/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/pom.xml
index 9c3ab8ff85..7134db16fc 100644
--- a/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/pom.xml
+++ b/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/pom.xml
@@ -153,6 +153,10 @@
org.apache.maven.plugins
maven-surefire-plugin
+
+ --add-opens=java.xml/jdk.xml.internal=ALL-UNNAMED
+ --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
+
src/test/resources/testng.xml
@@ -160,6 +164,9 @@
${basedir}/target/coverage-reports/jacoco-unit.exec
file:src/test/resources/log4j.properties
+
+ org.ops4j.pax.logging
+
diff --git a/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/test/resources/user-test/user-mgt-registry-test.xml b/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/test/resources/user-test/user-mgt-registry-test.xml
index fc32a2698d..96fd6acfff 100644
--- a/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/test/resources/user-test/user-mgt-registry-test.xml
+++ b/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/test/resources/user-test/user-mgt-registry-test.xml
@@ -27,7 +27,7 @@
everyone
false
500
- jdbc:h2:target/databasetest/CARBON_TEST
+ jdbc:h2:./target/databasetest/CARBON_TEST
org.h2.Driver
50
60000