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

Fix hotfix 40 containing misaligned connect client version for launcher

    XMLWordPrintable

    Details

      Description

      1. install 5.8HF40
      2. on studio side generate a release named 1.1.81 (any name in fact)
      3. on the server side run:
        $NUXEO_HOME/bin/nuxeoctl mp-install myproject-1.1.81 -d
        
      4. this gives the following stack:
        FrantzMBP:bin ffischer$ LAUNCHER_DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=8788,server=y,suspend=y" ./nuxeoctl mp-install myproject-1.1.81 -d
        Launcher command: java -Xdebug -Xrunjdwp:transport=dt_socket,address=8788,server=y,suspend=y -Dlauncher.java.opts=-server -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacyMergeSort=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dnuxeo.home=/Users/ffischer/nuxeo-cap-5.8-tomcat -Dnuxeo.conf=/Users/ffischer/nuxeo-cap-5.8-tomcat/bin/nuxeo.conf -Dnuxeo.log.dir=/Users/ffischer/nuxeo-cap-5.8-tomcat/log -jar /Users/ffischer/nuxeo-cap-5.8-tomcat/tmp/nuxeo-launcher-23343.jar mp-install myproject-1.1.81 -d
        Listening for transport dt_socket at address: 8788
        11:52:31,627 INFO  [org.nuxeo.launcher.config.TomcatConfigurator.<init>(TomcatConfigurator.java:59)] Detected Tomcat server.
        11:52:31,630 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.<init>(ConfigurationGenerator.java:372)] Nuxeo home:          /Users/ffischer/nuxeo-cap-5.8-tomcat
        11:52:31,630 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.<init>(ConfigurationGenerator.java:373)] Nuxeo configuration: /Users/ffischer/nuxeo-cap-5.8-tomcat/bin/nuxeo.conf
        11:52:31,636 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:830)] Include template: /Users/ffischer/nuxeo-cap-5.8-tomcat/templates/common-base
        11:52:31,639 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:830)] Include template: /Users/ffischer/nuxeo-cap-5.8-tomcat/templates/common
        11:52:31,639 INFO  [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:830)] Include template: /Users/ffischer/nuxeo-cap-5.8-tomcat/templates/default
        11:52:31,639 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:566)] [/Users/ffischer/nuxeo-cap-5.8-tomcat/templates/common-base, /Users/ffischer/nuxeo-cap-5.8-tomcat/templates/common, /Users/ffischer/nuxeo-cap-5.8-tomcat/templates/default]
        11:52:31,643 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.getBindAddress(ConfigurationGenerator.java:1325)] Configured bind address: /0.0.0.0
        11:52:31,643 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.evalLoopbackURL(ConfigurationGenerator.java:657)] Bind address is "ANY", using local address instead: /127.0.0.1
        11:52:31,644 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.evalLoopbackURL(ConfigurationGenerator.java:675)] Set as loop back URL: http://127.0.0.1:8080/nuxeo
        11:52:31,644 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.logDebugInformation(ConfigurationGenerator.java:594)] Nuxeo Dev mode is not enabled
        11:52:31,644 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.logDebugInformation(ConfigurationGenerator.java:608)] Nuxeo Seam HotReload is not enabled
        11:52:31,654 DEBUG [org.nuxeo.launcher.NuxeoLauncher.extractCommandAndParams(NuxeoLauncher.java:1738)] Launcher command: mp-install
        11:52:31,665 DEBUG [org.nuxeo.launcher.NuxeoLauncher.extractCommandAndParams(NuxeoLauncher.java:1743)] Command parameters: {myproject-1.1.81}
        11:52:31,665 DEBUG [org.nuxeo.launcher.NuxeoLauncher.setArgs(NuxeoLauncher.java:1723)] GUI: option not set - platform is not Windows -> do not start GUI
        11:52:31,728 DEBUG [org.nuxeo.launcher.NuxeoLauncher.getPid(NuxeoLauncher.java:1592)] regexp: ^(?!/bin/sh).*\Q/Users/ffischer/nuxeo-cap-5.8-tomcat/bin/nuxeo.conf\E.*\Qorg.apache.catalina.startup.Bootstrap\E.*$ pid:null
        11:52:35,721 DEBUG [org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1182)] solverInstall: [materne-1.1.81]
        11:52:35,721 DEBUG [org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1183)] solverRemove: []
        11:52:35,721 DEBUG [org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1184)] solverUpgrade: []
        Listening for transport dt_socket at address: 8788
        12:07:56,164 ERROR [org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:885)] Cannot execute command. null
        12:07:56,166 DEBUG [org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:886)] java.lang.NullPointerException
        java.lang.NullPointerException
        	at org.nuxeo.connect.packages.dependencies.CUDFHelper.initMapping(CUDFHelper.java:174)
        	at org.nuxeo.connect.packages.dependencies.CUDFHelper.getCUDFFile(CUDFHelper.java:388)
        	at org.nuxeo.connect.packages.dependencies.P2CUDFDependencyResolver.resolve(P2CUDFDependencyResolver.java:85)
        	at org.nuxeo.connect.packages.PackageManagerImpl.resolveDependencies(PackageManagerImpl.java:859)
        	at org.nuxeo.connect.packages.PackageManagerImpl.resolveDependencies(PackageManagerImpl.java:850)
        	at org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1185)
        	at org.nuxeo.launcher.NuxeoLauncher.pkgRequest(NuxeoLauncher.java:2190)
        	at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:986)
        	at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:881)
        
      5. Following to NXP-19513, connect-client has been updated but the launcher part is now misaligned and lies behind.
      6. nuxeo-launcher.jar should be updated to use the same connect-client version as the server itself i.e. 1.4.16.1

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m