Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
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
- relates to
-
HSTTWO-3128 Backport (7.9): SpringBridgeHstComponent: Cannot find the root web application context or client component manager
- Closed