-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 8.10
-
Component/s: nuxeoctl start/stop/admin
-
Epic Link:
-
Tags:
-
Sprint:nxSL Sprint 9.1.8, nxcloud 9.1.7
Command nuxeoctl connect-report executed in a docker containter running nuxeo:8.10 image, it fails:
nuxeo@9360535c16de:/opt/nuxeo/server/bin$ ./nuxeoctl connect-report Detected Tomcat server. Nuxeo home: /opt/nuxeo/server Nuxeo configuration: /opt/nuxeo/server/bin/nuxeo.conf Include template: /opt/nuxeo/server/templates/common-base Include template: /opt/nuxeo/server/templates/common Include template: /opt/nuxeo/server/templates/default Include template: /opt/nuxeo/server/templates/postgresql Include template: /opt/nuxeo/server/custom-templates/vdutat-sandbox-810 Include template: /opt/nuxeo/server/custom-templates/login-portal-sso Include template: /opt/nuxeo/server/templates/drive Dumping connect report in /opt/nuxeo/server/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:3036) at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1276) at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1103) 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:3038) ... 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
In a Nuxeo 8.10 VM launched by VirtualBox, it fails too:
- is related to
-
NXP-21352 Review the nuxeo-connect-tools modules
- Resolved