/cms is working but /site is giving file not found error.

136 views
Skip to first unread message

itsraj...@gmail.com

unread,
Oct 5, 2017, 8:36:32 AM10/5/17
to Hippo Community
Hi All,

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                                                      

Marijan Milicevic

unread,
Oct 5, 2017, 8:45:21 AM10/5/17
to hippo-c...@googlegroups.com
Hi,
error is pretty clear..you are missing some webfiles, or at least webfile:/freemarker/hstdefault/essentials-googlemaps.ftl 
see also documentation at [1],

cheers

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

Marijan Milicevic

unread,
Oct 5, 2017, 8:46:23 AM10/5/17
to hippo-c...@googlegroups.com
On Thu, Oct 5, 2017 at 2:45 PM, Marijan Milicevic <marijan....@bloomreach.com> wrote:
Hi,
error is pretty clear..you are missing some webfiles, or at least webfile:/freemarker/hstdefault/essentials-googlemaps.ftl 
see also documentation at [1],

cheers


itsraj...@gmail.com

unread,
Oct 5, 2017, 8:55:50 AM10/5/17
to Hippo Community
cms/console is able to find all these file. We are not getting this error for console for the same file.
But only /site is giving this error.

Thanks,
-Rajiv
To post to this group, send email to hippo-c...@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.

Jasper Floor

unread,
Oct 5, 2017, 9:00:14 AM10/5/17
to Hippo Community
Only the site uses that file.

To post to this group, send email to hippo-community@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.

Marijan Milicevic

unread,
Oct 5, 2017, 9:00:50 AM10/5/17
to hippo-c...@googlegroups.com
On Thu, Oct 5, 2017 at 2:53 PM, <itsraj...@gmail.com> wrote:
cms/console is able to find all these file. We are not getting this error for console for the same file.
But only /site is giving this error.

in that case, something might be wrong with domain/user setup, you should check if all site users are there with proper rights [1],
also, check logs if there are any previous errors (e.g. with bootstrapping) 
cheers
marijan
 
To post to this group, send email to hippo-community@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.

itsraj...@gmail.com

unread,
Oct 24, 2017, 3:33:04 PM10/24/17
to Hippo Community
I have checked all the users...everything is okay.

We have to upload explicitly bootstrap folder anywhere on linux server?

Thanks,
- Rajiv 

rdjava30

unread,
Jul 12, 2018, 1:20:31 PM7/12/18
to Hippo Community
Hi Raj

Can you please help me deployment of project on test server?
I created sample project in my local environment, which is running successfully via localhost.
Can you please provide me steps how did you configure on Test or Dev Server,

Thanks
Raman
Reply all
Reply to author
Forward
0 new messages