-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 8.10-HF04, 9.1-SNAPSHOT
-
Sprint:nxcore 9.1.4
-
Story Points:2
Using 9.1 SNAPSHOT (04/04)
STEPS TO REPRODUCE
- Install Template rendering samples (brings web ui along)
- Install JSF UI
- Activate dev mode, set wizard done to true in nuxeo.conf
- Using JSF UI
- Go to Admin
- Register instance with project template-module-demo on connect prod instance
- Try to hot reload
BUG
- An error page is shown saying
Cannot start caches, check suppressed error
EXPECTED
- Hot reload should work
NOTES
The problem does not appear if you install the package using nuxeoctl.
ERROR [nuxeo-error-log] javax.servlet.ServletException: On requestURL: http://localhost:8080/nuxeo/view_admin.faces at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:140) (...) Caused by: java.lang.RuntimeException: Cannot start caches, check suppressed error at org.nuxeo.ecm.core.cache.CacheRegistry.start(CacheRegistry.java:127) at org.nuxeo.ecm.core.cache.CacheReloadListener.handleEvent(CacheReloadListener.java:37) 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.flush(ReloadComponent.java:119) at org.nuxeo.connect.update.task.live.commands.Flush.flush(Flush.java:50) at org.nuxeo.connect.update.task.live.LiveUninstallTask.flush(LiveUninstallTask.java:46) at org.nuxeo.connect.update.task.standalone.CommandsTask.doRun(CommandsTask.java:129) at org.nuxeo.connect.update.task.standalone.UninstallTask.doRun(UninstallTask.java:59) at org.nuxeo.connect.update.task.live.LiveUninstallTask.doRun(LiveUninstallTask.java:39) at org.nuxeo.connect.update.task.standalone.AbstractTask.run(AbstractTask.java:246) at org.nuxeo.connect.client.jsf.AppCenterViewsManager$StudioAutoInstaller.performTask(AppCenterViewsManager.java:544) at org.nuxeo.connect.client.jsf.AppCenterViewsManager$StudioAutoInstaller.run(AppCenterViewsManager.java:477) at org.nuxeo.connect.client.jsf.AppCenterViewsManager.installStudioSnapshot(AppCenterViewsManager.java:244) at org.nuxeo.connect.client.jsf.AppCenterViewsManager.installStudioSnapshotAndRedirect(AppCenterViewsManager.java:225) (...) Suppressed: java.lang.IllegalArgumentException: A metric named nuxeo.cache.cacheWithoutReference-execution_type.read-hit-ratio already exists Suppressed: java.lang.IllegalArgumentException: A metric named nuxeo.cache.cacheWithoutReference-search_operators.read-hit-ratio already exists (...)