I followed the steps in this url
Run 2 Local Bloomreach Experience Manager Instances Simultaneously - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS
and able to see cms/console and cms but in experience manager the pages preview not available and also /site is not showing anything.
Unexpected error when loading template “webfile:/freemarker/ingdotcom/base-layout.ftl”.
[INFO] org.hippoecm.hst.core.container.ModuleNotFoundException: Module is not found: ‘org.hippoecm.hst.freemarker’
[INFO] at org.hippoecm.hst.site.container.SpringComponentManager.getComponent(SpringComponentManager.java:351)
[INFO] at org.hippoecm.hst.freemarker.jcr.AbstractTemplateLoader.getLoadingCache(AbstractTemplateLoader.java:29)
[INFO] at org.hippoecm.hst.freemarker.jcr.WebFileTemplateLoader.findTemplateSource(WebFileTemplateLoader.java:38)
[INFO] at freemarker.cache.MultiTemplateLoader.findTemplateSource(MultiTemplateLoader.java:80)
Unexpected error when loading template “webfile:/freemarker/ingdotcom/base-layout.ftl”.
[INFO] org.hippoecm.hst.core.container.ModuleNotFoundException: Module is not found: ‘org.hippoecm.hst.freemarker’
[INFO] at org.hippoecm.hst.site.container.SpringComponentManager.getComponent(SpringComponentManager.java:351)
[INFO] at org.hippoecm.hst.freemarker.jcr.AbstractTemplateLoader.getLoadingCache(AbstractTemplateLoader.java:29)
[INFO] at org.hippoecm.hst.freemarker.jcr.WebFileTemplateLoader.findTemplateSource(WebFileTemplateLoader.java:38)
[INFO] at freemarker.cache.MultiTemplateLoader.findTemplateSource(MultiTemplateLoader.java:80)
This shouldn’t be because of running two instances. It looks like there is something missing from the deployed artifacts.
It was working fine till i made changes for running 2 experience managers.
CMS , Console , resourceapi page all works fine. But in experience manager the pages are not loaded is there any place that i need to update the host and port in the experience manager /console . I followed all the steps in the document.
its unable to find the templates which was working already:
[INFO] %d{HH:mm:ss} WARN [HstFreemarkerServlet] Module is not found: ‘org.hippoecm.hst.freemarker’. To see the stack trace, set ‘org.hippoecm.hst.servlet.HstFreemarkerServlet’ log-level to debug in log4j configuration or runtime via the logging servlet
[INFO] 12-Sep-2024 10:42:14.949 SEVERE [http-nio-9080-exec-5] freemarker.log._JULLoggerFactory$JULLogger.error Unexpected error when loading template “webfile:/freemarker/ingdotcom/base-layout.ftl”.
[INFO] org.hippoecm.hst.core.container.ModuleNotFoundException: Module is not found: ‘org.hippoecm.hst.freemarker’
[INFO] at org.hippoecm.hst.site.container.SpringComponentManager.getComponent(SpringComponentManager.java:351)
[INFO] at org.hippoecm.hst.freemarker.jcr.AbstractTemplateLoader.getLoadingCache(AbstractTemplateLoader.java:29)
[INFO] at org.hippoecm.hst.freemarker.jcr.WebFileTemplateLoader.findTemplateSource(WebFileTemplateLoader.java:38)
[INFO] at freemarker.cache.MultiTemplateLoader.findTemplateSource(MultiTemplateLoader.java:80)
[INFO] at freemarker.cache.TemplateCache.findTemplateSource(TemplateCache.java:784)
[INFO] at freemarker.cache.TemplateCache.lookupTemplateWithAcquisitionStrategy(TemplateCache.java:744)
[INFO] at freemarker.cache.TemplateCache.access$500(TemplateCache.java:59)
[INFO] at freemarker.cache.TemplateCache$TemplateCacheTemplateLookupContext.lookupWithAcquisitionStrategy(TemplateCache.java:910)
[INFO] at freemarker.cache.TemplateCache$TemplateCacheTemplateLookupContext.lookupWithLocalizedThenAcquisitionStrategy(TemplateCache.java:918)
[INFO] at freemarker.cache.TemplateLookupStrategy$Default020300.lookup(TemplateLookupStrategy.java:105)
[INFO] at freemarker.cache.TemplateCache.lookupTemplate(TemplateCache.java:732)
[INFO] at freemarker.cache.TemplateCache.getTemplateInternal(TemplateCache.java:374)
[INFO] at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:293)
[INFO] at freemarker.template.Configuration.getTemplate(Configuration.java:2979)
[INFO] at freemarker.template.Configuration.getTemplate(Configuration.java:2837)
[INFO] at freemarker.ext.jakarta.servlet.FreemarkerServlet.process(FreemarkerServlet.java:806)
[INFO] at freemarker.ext.jakarta.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:765)
[INFO] at org.hippoecm.hst.servlet.HstFreemarkerServlet.doGet(HstFreemarkerServlet.java:156)
[INFO] at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564)
[INFO] at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
[INFO] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195)
[INFO] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
[INFO] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:632)
[INFO] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:510)
[INFO] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:453)
[INFO] at org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeDispatcher(HstComponentInvokerImpl.java:401)
[INFO] at org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeRender(HstComponentInvokerImpl.java:227)
[INFO] at jdk.internal.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)