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

Fix Nuxeo Connect Report Tools on Linux and Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: Dev Tools
    • Tags:
    • Sprint:
      nxSL Sprint 8.4.1
    • Story Points:
      2

      Description

      It works on OS X. On Windows and Linux, you get the following error when running the connect-report command.

      bin/nuxeoctl connect-report
      Detected Tomcat server.
      Nuxeo home:          /tmp/nuxeo-cap-8.3-tomcat
      Nuxeo configuration: /tmp/nuxeo-cap-8.3-tomcat/bin/nuxeo.conf
      Include template: /tmp/nuxeo-cap-8.3-tomcat/templates/common-base
      Include template: /tmp/nuxeo-cap-8.3-tomcat/templates/common
      Include template: /tmp/nuxeo-cap-8.3-tomcat/templates/default
      Dumping connect report in /tmp/nuxeo-cap-8.3-tomcat/tmp/nuxeo-connect-tools-report.json.gz
      Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/attach/VirtualMachine
          at org.nuxeo.connect.tools.report.client.ReportConnector$Discovery$1.<init>(ReportConnector.java:109)
          at org.nuxeo.connect.tools.report.client.ReportConnector$Discovery.iterator(ReportConnector.java:107)
          at org.nuxeo.connect.tools.report.client.ReportConnector.connect(ReportConnector.java:253)
          at org.nuxeo.connect.tools.report.client.ReportConnector.feed(ReportConnector.java:87)
          at org.nuxeo.launcher.NuxeoLauncher.dumpConnectReport(NuxeoLauncher.java:3133)
          at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1361)
          at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1188)
          Suppressed: javax.json.stream.JsonGenerationException: Generating incomplete JSON
              at org.glassfish.json.JsonGeneratorImpl.close(JsonGeneratorImpl.java:509)
              at org.glassfish.json.JsonPrettyGeneratorImpl.close(JsonPrettyGeneratorImpl.java:53)
              at org.nuxeo.launcher.NuxeoLauncher.dumpConnectReport(NuxeoLauncher.java:3135)
              ... 2 more
      Caused by: java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine
          at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
          ... 7 more
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: