运行Hybris店面的困难以及Live Edit中的WCMS会产生Tomcat异常

时间:2016-01-07 04:47:22

标签: hybris

我在Hybris加速器店面和Hybris WCMS Live Edit视图中遇到同样的问题:

一个。当我运行https://electronics.local:9002/yacceleratorstorefront/electronics/en/

湾Hybris从Apache Tomcat返回以下消息[见附录]

℃。有什么建议吗?

====

APPPENDIX

  

输入例外报告

     

message处理JSP页面时发生异常   第6行/WEB-INF/views/desktop/pages/layout/landingLayout2Page.jsp

     

description服务器遇到阻止它的内部错误   完成此请求。

     

例外

     

org.apache.jasper.JasperException:处理发生异常   JSP页面/WEB-INF/views/desktop/pages/layout/landingLayout2Page.jsp at   第6行

     

3:<%@ taglib prefix =" cms" URI =" HTTP://hybris.com/tld/cmstags" %GT; 4:   <%@ taglib prefix =" common" tagdir =" / WEB-INF /标签/桌面/公共" %GT; 5:   6:7:8:9:

     

堆栈跟踪:     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)     javax.servlet.http.HttpServlet.service(HttpServlet.java:727)     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)     org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)     org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)     org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1244)     org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)     org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)     org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)     org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)     org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)     javax.servlet.http.HttpServlet.service(HttpServlet.java:620)     org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)     javax.servlet.http.HttpServlet.service(HttpServlet.java:727)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:256)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ StatisticsGatewayFilter.doFilter(AbstractPlatformFilterChain.java:345)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.btg.BTGSegmentFilter.doFilterInternal(BTGSegmentFilter.java:47)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.btg.AbstractBtgFilter.doFilterInternal(AbstractBtgFilter.java:63)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.btg.AbstractBtgFilter.doFilterInternal(AbstractBtgFilter.java:63)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.btg.AbstractBtgFilter.doFilterInternal(AbstractBtgFilter.java:63)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.btg.AbstractBtgFilter.doFilterInternal(AbstractBtgFilter.java:63)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.CustomerLocationRestorationFilter.doFilterInternal(CustomerLocationRestorationFilter.java:63)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.CartRestorationFilter.doFilterInternal(CartRestorationFilter.java:122)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.AnonymousCheckoutFilter.doFilterInternal(AnonymousCheckoutFilter.java:39)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:330)     org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)     org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:139)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)     org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)     org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)     org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.UrlEncoderFilter.doFilterInternal(UrlEncoderFilter.java:77)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.StorefrontFilter.doFilterInternal(StorefrontFilter.java:81)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.cms.CMSSiteFilter.doFilterInternal(CMSSiteFilter.java:101)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.RequestLoggerFilter.doFilterInternal(RequestLoggerFilter.java:79)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.yacceleratorstorefront.filters.AcceleratorAddOnFilter.doFilter(AcceleratorAddOnFilter.java:92)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.servicelayer.web.SessionFilter.doFilter(SessionFilter.java:73)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.servicelayer.web.Log4JFilter.doFilter(Log4JFilter.java:47)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)     de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain.doFilterInternal(AbstractPlatformFilterChain.java:156)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.yacceleratorstorefront.filters.UrlPathFilter.doFilterInternal(UrlPathFilter.java:85)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)     org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)     org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)     de.hybris.platform.yacceleratorstorefront.filters.AcceleratorAddOnFilter.doFilter(AcceleratorAddOnFilter.java:92)     org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)     org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)     de.hybris.platform.servicelayer.web.XSSFilter.doFilter(XSSFilter.java:230)   .... ....

     

Apache中提供了根本原因的完整堆栈跟踪   Tomcat / 7.0.59日志

1 个答案:

答案 0 :(得分:1)

请按照以下步骤操作:

  1. 将liveeditaddon AddOn添加到localextensions.xml文件中,确保还包含列出的必需扩展名。

    一个。 liveeditaddon b。 addonsupport c。 cmscockpit

  2. 这些扩展通常已包含在localextensions.xml文件中。如果是这种情况,您可以忽略此步骤。

    1. 调用addoninstall ant命令,如下所示:

      ant addoninstall -Daddonnames =" liveeditaddon" -DaddonStorefront.yacceleratorstorefront =" yacceleratorstorefront"

    2. 这会在liveeditaddon AddOn的project.properties文件中生成正确的属性,并将店面的依赖项添加到liveeditaddon AddOn。

      1. 将以下属性添加到local.properties文件中:

        cmsPageBeforeViewHandler = com.hybris.storefront.interceptors.beforeview.CmsPageBeforeViewHandler uiThemeResourceBeforeViewHandler = com.hybris.storefront.interceptors.beforeview.UiThemeResourceBeforeViewHandler

      2. 通过从hybris / bin / platform目录运行ant clean all来重建hybris系统。