We have installed DevTest and configured with external database in site.properties file.
ED is started successfully and running. But we are getting below exception while starting registry service.But we are getting below exception while starting registry service.
ERROR com.itko.lisa.utils.JpaUtil - Could not configure database persistence for unit: itko-dradis
java.lang.NullPointerException
at com.itko.lisa.utils.db.ConnectionPoolManager.getUrl(ConnectionPoolManager.java:197)
at com.itko.lisa.utils.db.ConnectionPoolManager.getDradisCacheUrl(ConnectionPoolManager.java:219)
at com.itko.lisa.utils.db.DatabaseDialectProvider.getDradisCacheEclipselinkPlatform(DatabaseDialectProvider.java:42)
at com.itko.lisa.utils.JpaUtil.<init>(JpaUtil.java:473)
at com.itko.lisa.utils.JpaUtil.getDradisUtil(JpaUtil.java:406)
at com.itko.lisa.dradis.comm.JpaUtilWrapper.getAnnotations(JpaUtilWrapper.java:24)
at com.itko.lisa.dradis.comm.DradisCommContext.doEnterpriseDashboardHandshake(DradisCommContext.java:133)
at com.itko.lisa.coordinator.TestRegistryImpl.initialize(TestRegistryImpl.java:280)
at com.itko.lisa.coordinator.TestRegistryImpl.<init>(TestRegistryImpl.java:239)
at com.itko.lisa.coordinator.TestRegistryImpl.main(TestRegistryImpl.java:2163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.UnixLauncher.main(Unknown Source)
2017-12-25 16:06:56,309Z (16:06) [main] ERROR System.err - java.lang.RuntimeException: java.lang.NullPointerException"
All support DevTest releases and platforms.
Database properties not configured properly in the site.properties file.
Make sure you have not copied properties from old version to newly installed version and just edit properties given in _site.properties file available with new installation.
Make sure, you have all default pools configured in site.properties file as below
lisadb.acl.poolName=common
lisadb.broker.poolName=common
lisadb.reporting.poolName=common
lisadb.dradiscache.poolName=common