/site is not working for hippocms on external tomcat deployment on linux server

I am deploying hippocms on external linux server by referring the link : https://www.onehippo.org/library/enterprise/installation-and-configuration/linux-installation-manual.html for HippoCMS 11.
/cms and /cms/console working fine.
But when i am trying to access site its giving following error:
INFO  – WebFileTemplateLoader      – Trying to load freemarker template for web file from ‘/webfiles/site/freemarker/hstdefault/essentials-googlemaps.ftl’
INFO  – TemplateLoadingCache       – Return previously loaded repository source for ‘/webfiles/site/freemarker/hstdefault/essentials-googlemaps.ftl’ (even if was null)
ERROR – servlet                    – Unexpected error when loading template “webfile:/freemarker/hstdefault/essentials-googlemaps.ftl”.
java.io.IOException: Repository templateSource ‘/webfiles/site/freemarker/hstdefault/essentials-googlemaps.ftl’ not found
        at org.hippoecm.hst.freemarker.jcr.AbstractTemplateLoader.getReader(AbstractTemplateLoader.java:54)
        at freemarker.cache.MultiTemplateLoader$MultiSource.getReader(MultiTemplateLoader.java:141)
        at freemarker.cache.MultiTemplateLoader.getReader(MultiTemplateLoader.java:100)
        at freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:546)
        at freemarker.cache.TemplateCache.getTemplateInternal(TemplateCache.java:438)
        at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:291)
        at freemarker.template.Configuration.getTemplate(Configuration.java:2383)
        at freemarker.template.Configuration.getTemplate(Configuration.java:2241)
        at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:805)
        at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:764)
        at org.hippoecm.hst.servlet.HstFreemarkerServlet.doGet(HstFreemarkerServlet.java:153)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)
        at org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeDispatcher(HstComponentInvokerImpl.java:418)
        at org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeRender(HstComponentInvokerImpl.java:218)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
        at org.hippoecm.hst.core.logging.HstComponentInvokerProfiler.profile(HstComponentInvokerProfiler.java:60)
        at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:620)
“catalina.out” [readonly] 14540L, 1532206C

Asked

(0) Votes

1 Answers

  • Can you check whether the repository is online for site by hitting this url
    http://localhost:8080/site/ping/ and http://localhost:8080/cms/ping/

    Answered 9 months ago