Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30279

Nuxeo 2021 (zip package) + Mongo + Windows => Fails to start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2021.1
    • Fix Version/s: 2021.12
    • Component/s: Launcher
    • Release Notes Summary:
      The MongoDB check at startup is fixed with a better path parsing.
    • Backlog priority:
      800
    • Sprint:
      nxplatform #48
    • Story Points:
      2

      Description

      • Environment: Windows (Windows 10 Pro (v10.0.19041))
      • Nuxeo 2021.1 installed from the zip tomcat distribution (not Docker)
      • Mongo Version: 4.4
      Mongo Build Info: ("ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.0","gitVersion":"563487e100c4215e2dce98d0af2a6a5a2d67c5cf","modules":[],"allocator":"tcmalloc","environment":{"distmod":"windows","distarch":"x86_64","target_arch":"x86_64"}}}})
      
      • Java Version: Oracle JDK 11.0.10
      Java Home: C:\Program Files\Java\jdk-11.0.10
      java -version Output: C:\Nuxeo\Genus\demos\KAH\instance\bin>java -version
      java version "11.0.10" 2021-01-19 LTS
      Java(TM) SE Runtime Environment 18.9 (build 11.0.10+8-LTS-162)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.10+8-LTS-162, mixed mode)
      
      • Relevant Nuxeo.conf info (everything mentioning mongo):
      nuxeo.templates=mongodb,default,kah-demo-package,kah-demo-s3-config
      nuxeo.mongodb.dbname=kah
      

      The logs after starting nuxeo using...

      nuxeoctl -d org.nuxeo.launcher.config — console
      

      ... are attached to this ticket. The error is a ClassNotFoundException: org.nuxeo.ecm.core.storage.mongodb.MongoDBChecker:

      Exception in thread "NuxeoProcessThread-0" org.nuxeo.launcher.NuxeoLauncherException: Could not run configuration: Unable to check configuration for backing service mongodb
              at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:1673)
      . . .
      Caused by: java.lang.ClassNotFoundException: org.nuxeo.ecm.core.storage.mongodb.MongoDBChecker
              at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
      . . .
      

      Notice the same occurred on 2 others Windows machine

        Attachments

        1. console.txt
          20 kB
        2. log.txt
          10 kB
        3. showconf.txt
          21 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: