-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.10-HF04, 10.1
-
Component/s: Core MongoDB
If I set nuxeo.templates=mariadb,mongodb Launcher will fail with the following:
Cannot execute command. null java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.nuxeo.launcher.config.backingservices.DBCheck.lookupDriver(DBCheck.java:178) at org.nuxeo.launcher.config.backingservices.DBCheck.checkDatabaseConnection(DBCheck.java:126) at org.nuxeo.launcher.config.backingservices.DBCheck.check(DBCheck.java:73) at org.nuxeo.launcher.config.BackingServiceConfigurator.lambda$verifyInstallation$2(BackingServiceConfigurator.java:101) at net.jodah.failsafe.Functions$10.call(Functions.java:252) at net.jodah.failsafe.SyncFailsafe.call(SyncFailsafe.java:145) at net.jodah.failsafe.SyncFailsafe.run(SyncFailsafe.java:81) at org.nuxeo.launcher.config.BackingServiceConfigurator.verifyInstallation(BackingServiceConfigurator.java:101) at org.nuxeo.launcher.config.ConfigurationGenerator.verifyInstallation(ConfigurationGenerator.java:1280) at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:2048) at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1921) at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1882) at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1159) at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1110)
As a workaround we can add the following to nuxeo.conf to skip the check for MariaDB:
mariadb.check.classpath= mariadb.check.class=
It would be better if the DB check worked for both db types.
- is related to
-
NXP-23380 MongoDB functional tests don't start
- Resolved