-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Events / Works, Redis
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)
- is required by
-
NXP-19436 Studio hot-reload fails with Redis WorkManager
- Resolved