Problem in template's layout.webpage.ftl]

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem in template's layout.webpage.ftl]

Priyank Gupta
Hi i have been suffering from problem in template.xml so that site having problem of HTTP status 500.

also i am posting error trace .Please tell me about this problem and how can i resolve this issue

[INFO] [talledLocalContainer] 17.03.2013 14:40:50 ERROR [freemarker.log.Log4JLoggerFactory$Log4JLogger.error():96] Template processing error: "Expression composermode is undefined on line 1
6, column 7 in jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl."
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] Expression composermode is undefined on line 146, column 7 in jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl.
[INFO] [talledLocalContainer] The problematic instruction:
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer] ==> if !composermode [on line 146, column 1 in jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl]
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] Java backtrace for programmers:
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer] freemarker.core.InvalidReferenceException: Expression composermode is undefined on line 146, column 7 in jcr:/hst:hst/hst:configurations/common/hst:templates/l
yout.webpage.ftl.
[INFO] [talledLocalContainer]   at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
[INFO] [talledLocalContainer]   at freemarker.core.Expression.isTrue(Expression.java:145)
[INFO] [talledLocalContainer]   at freemarker.core.NotExpression.isTrue(NotExpression.java:66)
[INFO] [talledLocalContainer]   at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)
[INFO] [talledLocalContainer]   at freemarker.core.Environment.visit(Environment.java:221)
[INFO] [talledLocalContainer]   at freemarker.core.MixedContent.accept(MixedContent.java:92)
[INFO] [talledLocalContainer]   at freemarker.core.Environment.visit(Environment.java:221)
[INFO] [talledLocalContainer]   at freemarker.core.Environment.process(Environment.java:199)
[INFO] [talledLocalContainer]   at freemarker.template.Template.process(Template.java:237)
[INFO] [talledLocalContainer]   at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:452)
[INFO] [talledLocalContainer]   at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:391)
[INFO] [talledLocalContainer]   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
[INFO] [talledLocalContainer]   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeDispatcher(HstComponentInvokerImpl.java:381)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeRender(HstComponentInvokerImpl.java:186)
[INFO] [talledLocalContainer]   at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
[INFO] [talledLocalContainer]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer]   at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer]   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
[INFO] [talledLocalContainer]   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
[INFO] [talledLocalContainer]   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
[INFO] [talledLocalContainer]   at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.logging.HstComponentInvokerProfiler.profile(HstComponentInvokerProfiler.java:70)
[INFO] [talledLocalContainer]   at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
[INFO] [talledLocalContainer]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer]   at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer]   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
[INFO] [talledLocalContainer]   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
[INFO] [talledLocalContainer]   at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
[INFO] [talledLocalContainer]   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[INFO] [talledLocalContainer]   at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
[INFO] [talledLocalContainer]   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[INFO] [talledLocalContainer]   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
[INFO] [talledLocalContainer]   at $Proxy2.invokeRender(Unknown Source)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.AggregationValve.processWindowsRender(AggregationValve.java:395)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.AggregationValve.invoke(AggregationValve.java:216)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.ComponentRenderingValve.invoke(ComponentRenderingValve.java:42)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.ResourceServingValve.invoke(ResourceServingValve.java:80)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.ActionValve.invoke(ActionValve.java:205)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.SiteMenusResolvingValve.invoke(SiteMenusResolvingValve.java:35)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.JCRSessionStatefulConcurrencyValve.invoke(JCRSessionStatefulConcurrencyValve.java:97)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.SubjectBasedSessionValve.invoke(SubjectBasedSessionValve.java:59)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.SecurityValve.invoke(SecurityValve.java:160)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.LocalizationValve.invoke(LocalizationValve.java:85)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.ContextResolvingValve.invoke(ContextResolvingValve.java:102)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.CmsSecurityValve.invoke(CmsSecurityValve.java:80)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.InitializationValve.invoke(InitializationValve.java:71)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:235)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:221)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:69)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.container.HstFilter.processResolvedSiteMapItem(HstFilter.java:749)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:399)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer]   at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
[INFO] [talledLocalContainer]   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer]   at org.hippoecm.hst.container.XSSUrlFilter.doFilter(XSSUrlFilter.java:49)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[INFO] [talledLocalContainer]   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[INFO] [talledLocalContainer]   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[INFO] [talledLocalContainer]   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[INFO] [talledLocalContainer]   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
[INFO] [talledLocalContainer]   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
[INFO] [talledLocalContainer]   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
[INFO] [talledLocalContainer]   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:619)
[WARNING] [talledLocalContainer] Mar 17, 2013 2:40:50 PM org.apache.catalina.core.ApplicationDispatcher invoke
[WARNING] [talledLocalContainer] SEVERE: Servlet.service() for servlet freemarker threw exception
[WARNING] [talledLocalContainer]
[WARNING] [talledLocalContainer] Expression composermode is undefined on line 146, column 7 in jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl.
[WARNING] [talledLocalContainer] The problematic instruction:
[WARNING] [talledLocalContainer] ----------
[WARNING] [talledLocalContainer] ==> if !composermode [on line 146, column 1 in jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl]
[WARNING] [talledLocalContainer] ----------
[WARNING] [talledLocalContainer]
Ard
Reply | Threaded
Open this post in threaded view
|

Re: Problem in template's layout.webpage.ftl]

Ard
It complains that 'composermode' is undefined, so I think you should
either set 'composermode' request attribute or remove it from the ftl
if you do not need it

Regards Ard

On Sun, Mar 17, 2013 at 10:19 AM, Priyank Gupta <[hidden email]> wrote:

> Hi i have been suffering from problem in template.xml so that site having
> problem of HTTP status 500.
>
> also i am posting error trace .Please tell me about this problem and how can
> i resolve this issue
>
> [INFO] [talledLocalContainer] 17.03.2013 14:40:50 ERROR
> [freemarker.log.Log4JLoggerFactory$Log4JLogger.error():96] Template
> processing error: "Expression composermode is undefined on line 1
> 6, column 7 in
> jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl."
> [INFO] [talledLocalContainer]
> [INFO] [talledLocalContainer] Expression composermode is undefined on line
> 146, column 7 in
> jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl.
> [INFO] [talledLocalContainer] The problematic instruction:
> [INFO] [talledLocalContainer] ----------
> [INFO] [talledLocalContainer] ==> if !composermode [on line 146, column 1 in
> jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl]
> [INFO] [talledLocalContainer] ----------
> [INFO] [talledLocalContainer]
> [INFO] [talledLocalContainer] Java backtrace for programmers:
> [INFO] [talledLocalContainer] ----------
> [INFO] [talledLocalContainer] freemarker.core.InvalidReferenceException:
> Expression composermode is undefined on line 146, column 7 in
> jcr:/hst:hst/hst:configurations/common/hst:templates/l
> yout.webpage.ftl.
> [INFO] [talledLocalContainer]   at
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
> [INFO] [talledLocalContainer]   at
> freemarker.core.Expression.isTrue(Expression.java:145)
> [INFO] [talledLocalContainer]   at
> freemarker.core.NotExpression.isTrue(NotExpression.java:66)
> [INFO] [talledLocalContainer]   at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)
> [INFO] [talledLocalContainer]   at
> freemarker.core.Environment.visit(Environment.java:221)
> [INFO] [talledLocalContainer]   at
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> [INFO] [talledLocalContainer]   at
> freemarker.core.Environment.visit(Environment.java:221)
> [INFO] [talledLocalContainer]   at
> freemarker.core.Environment.process(Environment.java:199)
> [INFO] [talledLocalContainer]   at
> freemarker.template.Template.process(Template.java:237)
> [INFO] [talledLocalContainer]   at
> freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:452)
> [INFO] [talledLocalContainer]   at
> freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:391)
> [INFO] [talledLocalContainer]   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> [INFO] [talledLocalContainer]   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeDispatcher(HstComponentInvokerImpl.java:381)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeRender(HstComponentInvokerImpl.java:186)
> [INFO] [talledLocalContainer]   at
> sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
> [INFO] [talledLocalContainer]   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [INFO] [talledLocalContainer]   at
> java.lang.reflect.Method.invoke(Method.java:597)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.logging.HstComponentInvokerProfiler.profile(HstComponentInvokerProfiler.java:70)
> [INFO] [talledLocalContainer]   at
> sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
> [INFO] [talledLocalContainer]   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [INFO] [talledLocalContainer]   at
> java.lang.reflect.Method.invoke(Method.java:597)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> [INFO] [talledLocalContainer]   at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> [INFO] [talledLocalContainer]   at $Proxy2.invokeRender(Unknown Source)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.AggregationValve.processWindowsRender(AggregationValve.java:395)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.AggregationValve.invoke(AggregationValve.java:216)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.ComponentRenderingValve.invoke(ComponentRenderingValve.java:42)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.ResourceServingValve.invoke(ResourceServingValve.java:80)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.ActionValve.invoke(ActionValve.java:205)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.SiteMenusResolvingValve.invoke(SiteMenusResolvingValve.java:35)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.JCRSessionStatefulConcurrencyValve.invoke(JCRSessionStatefulConcurrencyValve.java:97)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.SubjectBasedSessionValve.invoke(SubjectBasedSessionValve.java:59)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.SecurityValve.invoke(SecurityValve.java:160)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.LocalizationValve.invoke(LocalizationValve.java:85)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.ContextResolvingValve.invoke(ContextResolvingValve.java:102)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.CmsSecurityValve.invoke(CmsSecurityValve.java:80)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.InitializationValve.invoke(InitializationValve.java:71)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:269)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:235)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:221)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:69)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.container.HstFilter.processResolvedSiteMapItem(HstFilter.java:749)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:399)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [INFO] [talledLocalContainer]   at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
> [INFO] [talledLocalContainer]   at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [INFO] [talledLocalContainer]   at
> org.hippoecm.hst.container.XSSUrlFilter.doFilter(XSSUrlFilter.java:49)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [INFO] [talledLocalContainer]   at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
> [INFO] [talledLocalContainer]   at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> [INFO] [talledLocalContainer]   at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
> [INFO] [talledLocalContainer]   at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> [INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:619)
> [WARNING] [talledLocalContainer] Mar 17, 2013 2:40:50 PM
> org.apache.catalina.core.ApplicationDispatcher invoke
> [WARNING] [talledLocalContainer] SEVERE: Servlet.service() for servlet
> freemarker threw exception
> [WARNING] [talledLocalContainer]
> [WARNING] [talledLocalContainer] Expression composermode is undefined on
> line 146, column 7 in
> jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl.
> [WARNING] [talledLocalContainer] The problematic instruction:
> [WARNING] [talledLocalContainer] ----------
> [WARNING] [talledLocalContainer] ==> if !composermode [on line 146, column 1
> in jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl]
> [WARNING] [talledLocalContainer] ----------
> [WARNING] [talledLocalContainer]
>
>
>
> --
> View this message in context: http://hippo.2275632.n2.nabble.com/Problem-in-template-s-layout-webpage-ftl-tp7580670.html
> Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html



--
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com
_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html
Reply | Threaded
Open this post in threaded view
|

Re: Problem in template's layout.webpage.ftl]

Priyank Gupta
Thanks Ard,
        I have two issue loggedin and composernode .at starting i ahev getting error loggedin undefined but when i write in wabpagw.layour.flt as " loggedin ?? && loggedin" it resolve the issue of loggedin undefined but no w it is giving me for composernode undefined then i did it same for compposernode and it  resolve my issue and Http 500 error has been not remain.Now i can open any url.

Now the new issue is coming about when i am submitting the any page like click on submit it should redirect to java page as server request and return a response but it is not doing that .Also i have put some logs.warn in java class but on cmd it is not showing any warn.

But when i inspect the submit button it transferring  the data but i can't have any response from server.

Do you have any idea  what will be the root cause or it is because  of loggedin .?

Is there any way to resolve this issue.

Thanks