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

Fix hot reload on date-based distribution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.10-HF11, 11.1-SNAPSHOT
    • Fix Version/s: 10.10-HF11, 11.1, 2021.0
    • Component/s: Automation

      Description

      On http://community.nuxeo.com/static/snapshots/nuxeo-server-11.1-I20190730_2325-tomcat.zip registered to ktouchie-SANDBOX project in nos-preprod (with 11.1 set to target platform).

      • Activate dev mode via nuxeo.conf
      • Install nuxeo-web-ui, nuxeo-dam, nuxeo-jsf-ui
      • Start server, login as Administrator
      • Hot reload from the Nuxeo Dev Tools browser extension.
      • Server crashes. (Using nuxeoctl gui start, the button hangs on "Starting server..."
      • Server log:
        2019-07-31T15:56:10,448 INFO  [main] [org.nuxeo.osgi.application.loader.FrameworkLoader] 
        ======================================================================
        = Starting Nuxeo Framework
        ======================================================================
          * Server home = /home/karin/Nuxeo/distribution/nuxeo-server-11.1-I20190730_2325-tomcat
          * Runtime home = /home/karin/Nuxeo/distribution/nuxeo-server-11.1-I20190730_2325-tomcat/nxserver
          * Data Directory = /home/karin/Nuxeo/distribution/nuxeo-server-11.1-I20190730_2325-tomcat/nxserver/data
          * Log Directory = /home/karin/Nuxeo/distribution/nuxeo-server-11.1-I20190730_2325-tomcat/log
          * Configuration Directory = /home/karin/Nuxeo/distribution/nuxeo-server-11.1-I20190730_2325-tomcat/nxserver/config
          * Temp Directory = /home/karin/Nuxeo/distribution/nuxeo-server-11.1-I20190730_2325-tomcat/tmp
        ======================================================================
        2019-07-31T15:56:15,522 WARN  [main] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent] Command not available: videoClosedCaptionsExtractor (command ccextractor not found in system path (descriptor CommandLineDescriptor[name=videoClosedCaptionsExtractor,enabled=true,available=false,command=ccextractor,parameterString=#{sourceFilePath} -out=#{outFormat} -trim -o #{outFilePath},testParameterString=,winParameterString=<null>,winTestParameterString=,winCommand=<null>,tester=<null>,readOutput=true,installationDirective=You need to install ccextractor.,installErrorMessage=<null>]). You need to install ccextractor.)
        2019-07-31T15:56:15,525 WARN  [main] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent] Command not available: videoPartClosedCaptionsExtractor (command ccextractor not found in system path (descriptor CommandLineDescriptor[name=videoPartClosedCaptionsExtractor,enabled=true,available=false,command=ccextractor,parameterString=#{sourceFilePath} -out=#{outFormat} -startat #{startAt} -endat #{endAt} -trim -o #{outFilePath},testParameterString=,winParameterString=<null>,winTestParameterString=,winCommand=<null>,tester=<null>,readOutput=true,installationDirective=You need to install ccextractor.,installErrorMessage=<null>]). You need to install ccextractor.)
        2019-07-31T15:56:20,171 WARN  [main] [org.nuxeo.elasticsearch.core.ElasticSearchEmbeddedNode] Elasticsearch embedded configuration is ONLY for testing purpose. You need to create a dedicated Elasticsearch cluster for production.
        2019-07-31T15:56:31,337 INFO  [main] [org.nuxeo.runtime.osgi.OSGiRuntimeService] Nuxeo Platform Started
        ======================================================================
        = Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 0 / Total: 763
        ======================================================================
        2019-07-31T15:56:33,901 INFO  [main] [javax.enterprise.resource.webcontainer.jsf.application] jsf.core.injection.provider_generic_web_configured
        2019-07-31T15:56:44,118 WARN  [http-nio-0.0.0.0-8080-exec-9] [org.nuxeo.ecm.user.center.profile.localeProvider.UserLocaleSelectorListener] Locale Startup not available. Can't set locale
        2019-07-31T15:57:32,390 INFO  [http-nio-0.0.0.0-8080-exec-6] [org.nuxeo.runtime.reload.ReloadComponent] Before updating Nuxeo server
        ======================================================================
        = Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 0 / Total: 763
        ======================================================================
        2019-07-31T15:57:32,391 INFO  [http-nio-0.0.0.0-8080-exec-6] [org.nuxeo.runtime.reload.ReloadComponent] Before flush caches
        2019-07-31T15:57:32,397 INFO  [http-nio-0.0.0.0-8080-exec-6] [org.nuxeo.runtime.reload.ReloadComponent] Before flush the JAAS cache
        2019-07-31T15:57:32,397 INFO  [http-nio-0.0.0.0-8080-exec-6] [org.nuxeo.runtime.reload.ReloadComponent] After flush the JAAS cache
        2019-07-31T15:57:32,397 INFO  [http-nio-0.0.0.0-8080-exec-6] [org.nuxeo.runtime.reload.ReloadComponent] After flush caches
        2019-07-31T15:57:32,401 INFO  [pool-3-thread-1] [org.nuxeo.runtime.reload.ReloadComponent] Component reload strategy=standby
        2019-07-31T15:57:32,401 INFO  [pool-3-thread-1] [org.nuxeo.runtime.reload.ReloadComponent] Before stop/standby component manager
        

      console.log:

      2019-07-31T15:56:07,382 WARN  [main] [org.nuxeo.launcher.NuxeoLauncher] Server started with process ID 25380.
      2019-07-31T15:56:07,383 INFO  [main] [org.nuxeo.launcher.NuxeoLauncher] Go to http://localhost:8080/nuxeo
      2019-07-31T15:57:34,841 WARN  [Thread-0] [org.nuxeo.launcher.NuxeoLauncher] Failed to contact Nuxeo for getting startup summary
      java.net.SocketTimeoutException: Read timed out
      	at java.net.SocketInputStream.socketRead0(Native Method) ~[?:?]
      	at java.net.SocketInputStream.socketRead(SocketInputStream.java:115) ~[?:?]
      	at java.net.SocketInputStream.read(SocketInputStream.java:168) ~[?:?]
      	at java.net.SocketInputStream.read(SocketInputStream.java:140) ~[?:?]
      	at java.io.BufferedInputStream.fill(BufferedInputStream.java:252) ~[?:?]
      	at java.io.BufferedInputStream.read1(BufferedInputStream.java:292) ~[?:?]
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:351) ~[?:?]
      	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:746) ~[?:?]
      	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689) ~[?:?]
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1604) ~[?:?]
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509) ~[?:?]
      	at org.nuxeo.launcher.monitoring.StatusServletClient.getResponse(StatusServletClient.java:174) ~[nuxeo-launcher-27939.jar:?]
      	at org.nuxeo.launcher.monitoring.StatusServletClient.post(StatusServletClient.java:163) ~[nuxeo-launcher-27939.jar:?]
      	at org.nuxeo.launcher.monitoring.StatusServletClient.getStartupSummary(StatusServletClient.java:151) ~[nuxeo-launcher-27939.jar:?]
      	at org.nuxeo.launcher.NuxeoLauncher.getStartupSummary(NuxeoLauncher.java:2032) ~[nuxeo-launcher-27939.jar:?]
      	at org.nuxeo.launcher.gui.NuxeoFrame.updateSummary(NuxeoFrame.java:491) ~[nuxeo-launcher-27939.jar:?]
      	at org.nuxeo.launcher.gui.NuxeoLauncherGUI.updateServerStatus(NuxeoLauncherGUI.java:234) ~[nuxeo-launcher-27939.jar:?]
      	at org.nuxeo.launcher.gui.NuxeoLauncherGUI.lambda$initFrame$1(NuxeoLauncherGUI.java:177) ~[nuxeo-launcher-27939.jar:?]
      	at java.lang.Thread.run(Thread.java:834) ~[?:?]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 day
                  1d