Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3119

SpringBridgeHstComponent: Cannot find the root web application context or client component manager

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.30.00
    • None
    • None

    Description

      Hi,
      I created two spring components into my hippo site.
      My SimpleDispatcherHstComponent is ok, but my SpringBridgeHstComponent is not ok.

      I set an element into my jcr repo as
      org.hippoecm.hst.component.support.spring.SpringBridgeHstComponent
      and spring-delegated-bean on bean ID "importantTodoItemsListSpringDelegateComponent".

      My delegated-spring-bean extends BaseHstComponent and I defined it into mvc-dispatcher-servlet.xml.

      Well, I have an exception on spring-delegated-bean invokation:

      [INFO] [talledLocalContainer] 31.10.2014 11:02:21 WARN http-bio-8080-exec-2 [HstComponentInvokerImpl.invokeBeforeRender:139] Component exception caught: org.hippoecm.hst.core.component.HstComponentException: Cannot find the root web application context or client component manager. at org.hippoecm.hst.component.support.spring.SpringBridgeHstComponent.getDelegatedBean(SpringBridgeHstComponent.java:218)
      [INFO] [talledLocalContainer] 31.10.2014 11:02:22 WARN http-bio-8080-exec-2 [AbstractBaseOrderableValve.handleComponentExceptions:303] Component exception(s) found in page request, '/site/'.
      [INFO] [talledLocalContainer] 31.10.2014 11:02:22 WARN http-bio-8080-exec-2 [DefaultPageErrorHandler.logWarningsForEachComponentExceptions:51] Component exception on org.hippoecm.hst.component.support.spring.SpringBridgeHstComponent : org.hippoecm.hst.core.component.HstComponentException: Cannot find the root web application context or client component manager.

      Into my web.xml I configured this:

      <servlet>
      <servlet-name>HstDispatcherServlet</servlet-name>
      <servlet-class>org.hippoecm.hst.component.support.spring.mvc.HstDispatcherServlet</servlet-class>
      <init-param>
      <param-name>contextConfigLocation</param-name>
      <param-value>/WEB-INF/mvc-dispatcher-servlet.xml</param-value>
      </init-param>
      </servlet>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              antonino.giannone@gmail.com Tlabs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: