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

Marketplace package downloader must not exceed its thread pool limit

    XMLWordPrintable

    Details

      Description

      $ ./bin/nuxeoctl mp-hotfix --accept true
      Nuxeo home:          /media/julien/1To/download/nuxeo-cap-5.6-tomcat
      Nuxeo configuration: /media/julien/1To/download/nuxeo-cap-5.6-tomcat/bin/nuxeo.conf
      Include template: /media/julien/1To/download/nuxeo-cap-5.6-tomcat/templates/common-base
      Include template: /media/julien/1To/download/nuxeo-cap-5.6-tomcat/templates/common
      Include template: /media/julien/1To/download/nuxeo-cap-5.6-tomcat/templates/default
      Missing mapping for nuxeo-cmf with target platform cap-5.6
      Missing mapping for nuxeo-cmf with target platform cap-5.6
      
      Dependency resolution:
        Installation order: nuxeo-5.6.0-HF00-1.0.0/nuxeo-5.6.0-HF01-1.0.0/nuxeo-5.6.0-HF02-1.1.0/nuxeo-5.6.0-HF03-1.0.0/nuxeo-5.6.0-HF04-1.0.0/nuxeo-5.6.0-HF05-1.0.0/nuxeo-5.6.0-HF06-1.0.0/nuxeo-5.6.0-HF07-1.0.0/nuxeo-5.6.0-HF08-1.0.0/nuxeo-5.6.0-HF09-1.0.0/nuxeo-5.6.0-HF10-1.0.0/nuxeo-5.6.0-HF11-1.0.0/nuxeo-5.6.0-HF12-1.0.0/nuxeo-5.6.0-HF13-1.0.0/nuxeo-5.6.0-HF14-1.0.0/nuxeo-5.6.0-HF15-1.0.0/nuxeo-5.6.0-HF16-1.0.0/nuxeo-5.6.0-HF17-1.0.0/nuxeo-5.6.0-HF18-1.0.0/nuxeo-5.6.0-HF19-1.0.0/nuxeo-5.6.0-HF20-1.1.0/nuxeo-5.6.0-HF21-1.1.0/nuxeo-5.6.0-HF22-1.0.0/nuxeo-5.6.0-HF23-1.0.0/nuxeo-5.6.0-HF24-1.0.0/nuxeo-5.6.0-HF25-1.0.0/nuxeo-5.6.0-HF26-1.0.0/nuxeo-5.6.0-HF27-1.0.0/nuxeo-5.6.0-HF28-1.0.0/nuxeo-5.6.0-HF29-1.0.0/nuxeo-5.6.0-HF30-1.0.0/nuxeo-security-HF01-1.0.0
      
      Downloading [nuxeo-5.6.0-HF28-1.0.0, nuxeo-5.6.0-HF29-1.0.0, nuxeo-5.6.0-HF26-1.0.0, nuxeo-5.6.0-HF27-1.0.0, nuxeo-5.6.0-HF24-1.0.0, nuxeo-5.6.0-HF25-1.0.0, nuxeo-5.6.0-HF05-1.0.0, nuxeo-5.6.0-HF04-1.0.0, nuxeo-5.6.0-HF03-1.0.0, nuxeo-5.6.0-HF02-1.1.0, nuxeo-5.6.0-HF09-1.0.0, nuxeo-5.6.0-HF08-1.0.0, nuxeo-5.6.0-HF07-1.0.0, nuxeo-5.6.0-HF06-1.0.0, nuxeo-5.6.0-HF11-1.0.0, nuxeo-5.6.0-HF12-1.0.0, nuxeo-5.6.0-HF10-1.0.0, nuxeo-5.6.0-HF30-1.0.0, nuxeo-5.6.0-HF17-1.0.0, nuxeo-5.6.0-HF18-1.0.0, nuxeo-5.6.0-HF19-1.0.0, nuxeo-5.6.0-HF13-1.0.0, nuxeo-5.6.0-HF14-1.0.0, nuxeo-5.6.0-HF15-1.0.0, nuxeo-5.6.0-HF16-1.0.0, nuxeo-security-HF01-1.0.0, nuxeo-5.6.0-HF00-1.0.0, nuxeo-5.6.0-HF01-1.0.0, nuxeo-5.6.0-HF21-1.1.0, nuxeo-5.6.0-HF20-1.1.0, nuxeo-5.6.0-HF23-1.0.0, nuxeo-5.6.0-HF22-1.0.0]...
      Adding nuxeo-5.6.0-HF28-1.0.0
      Cannot download packages
      java.util.concurrent.RejectedExecutionException: Task nuxeo-5.6.0-HF22-1.0.0 rejected from java.util.concurrent.ThreadPoolExecutor@4ed54d2b[Running, pool size = 5, active threads = 5, queued tasks = 25, completed tasks = 1]
      	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
      	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
      	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
      	at org.nuxeo.connect.downloads.ConnectDownloadManagerImpl.storeDownloadedBundle(ConnectDownloadManagerImpl.java:67)
      	at org.nuxeo.connect.connector.AbstractConnectConnector.getDownload(AbstractConnectConnector.java:166)
      	at org.nuxeo.connect.connector.http.ConnectHttpConnector.getDownload(ConnectHttpConnector.java:196)
      	at org.nuxeo.connect.packages.PackageManagerImpl.download(PackageManagerImpl.java:594)
      	at org.nuxeo.launcher.connect.ConnectBroker.downloadPackages(ConnectBroker.java:952)
      	at org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1115)
      	at org.nuxeo.launcher.connect.ConnectBroker.pkgUpgradeByType(ConnectBroker.java:1204)
      	at org.nuxeo.launcher.connect.ConnectBroker.pkgHotfix(ConnectBroker.java:1209)
      	at org.nuxeo.launcher.NuxeoLauncher.pkgHotfix(NuxeoLauncher.java:2093)
      	at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:823)
      	at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:695)
      Aborting packages change request

      http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/RejectedExecutionException.html

      Workaround is to split the download:

      ./bin/nuxeoctl mp-install nuxeo-5.6.0-HF22-1.0.0 --accept true
      ./bin/nuxeoctl mp-hotfix --accept true

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.