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

Hot-reload fails with Redis WorkManager

    XMLWordPrintable

    Details

      Description

      Using a Redis WorkManager, hot-reloading a Studio component fails in the after-reload step due to:

      Caused by: java.lang.IllegalStateException: default is already configured
      	at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing.initWorkQueue(RedisWorkQueuing.java:163)
      	at org.nuxeo.ecm.core.work.WorkManagerImpl$WorkThreadPoolExecutor.<init>(WorkManagerImpl.java:535)
      	at org.nuxeo.ecm.core.work.WorkManagerImpl.activateQueue(WorkManagerImpl.java:204)
      	at org.nuxeo.ecm.core.work.WorkManagerImpl.init(WorkManagerImpl.java:330)
      	at org.nuxeo.ecm.core.work.ReloadListener.handleEvent(ReloadListener.java:50)
      	at org.nuxeo.runtime.services.event.EventService.sendEvent(EventService.java:141)
      	at org.nuxeo.runtime.services.event.EventService.sendEvent(EventService.java:108)
      	at org.nuxeo.runtime.reload.ReloadComponent.lambda$triggerReload$0(ReloadComponent.java:332)
      	at org.nuxeo.runtime.api.ServicePassivator$Waiter.proceed(ServicePassivator.java:344)
      	at org.nuxeo.runtime.api.ServicePassivator.proceed(ServicePassivator.java:78)
      	at org.nuxeo.runtime.reload.ReloadComponent.triggerReload(ReloadComponent.java:330)
      	at org.nuxeo.runtime.reload.ReloadComponent.triggerReloadWithNewTransaction(ReloadComponent.java:356)
      	at org.nuxeo.runtime.reload.ReloadComponent.reload(ReloadComponent.java:93)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: