Hippo rewrite filter not initialized yet for version 14.7.19

Hi, I have upgraded to version 14.7.19 from 13. and after container starts
Iam not able view the site, console and cms
and for /site I’m getting below errors

[INFO] [talledLocalContainer] 23.02.2024 14:56:48 ERROR http-nio-8080-exec-7 [HstFilter.doFilter:47] The HST Container Services are not initialized yet.
[INFO] [talledLocalContainer] 23.02.2024 14:56:48 WARN http-nio-8080-exec-7 [HippoRewriteFilter.doFilter:189] ############## hippo rewrite filter not initialized yet ###########

console log:

can some help on this, what could be the issue for version 14, but for the version 13 there is no issues.

Regards,
Ashok kumar

Hi Ashok,
The HippoRewriteFilter checks if the HST (delivery tier) has been initialized, using HstServices.isAvailable so apparently it wasn’t. There should be earlier errors in the logs.

HTH
Jeroen

1 Like

If the HST container did not initialize, you have an earlier error in the logs. Please run again and post the entire output. You can use -U as well for more information.

1 Like

Hi, it seems JCR repository is not creating Please check the logs,and let us know how to fix this issue.

23.02.2024 15:51:00 ERROR main [RepositoryServlet.init:249] Error while setting up JCR repository:
javax.jcr.RepositoryException: unchecked exception: java.lang.IllegalStateException: core/kohler/kohler/kohler-repository-data-application [config: configuration/domains/defaultwrite.yaml] contains definition rooted at unreachable node ‘/hippo:configuration/hippo:domains/defaultwrite/readwrite’. Closest ancestor is at ‘/hippo:configuration/hippo:domains’.
at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:161) ~[hippo-repository-connector-14.7.19.jar:14.7.19]
at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:207) [hippo-repository-servlets-14.7.19.jar:14.7.19]
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1106) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1063) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:960) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4673) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4980) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.75]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) [catalina.jar:9.0.75]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662) [catalina.jar:9.0.75]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1023) [catalina.jar:9.0.75]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1910) [catalina.jar:9.0.75]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_381]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_381]
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.75]
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) [?:1.8.0_381]
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:824) [catalina.jar:9.0.75]
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) [catalina.jar:9.0.75]
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1617) [catalina.jar:9.0.75]
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.75]
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:898) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:795) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.75]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332) [catalina.jar:9.0.75]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322) [catalina.jar:9.0.75]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_381]
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.75]
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) [?:1.8.0_381]
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:871) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:249) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:428) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.75]
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:914) [catalina.jar:9.0.75]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.75]
at org.apache.catalina.startup.Catalina.start(Catalina.java:772) [catalina.jar:9.0.75]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_381]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_381]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_381]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_381]
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347) [bootstrap.jar:9.0.75]
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) [bootstrap.jar:9.0.75]
Caused by: java.lang.IllegalStateException: core/kohler/kohler/kohler-repository-data-application [config: configuration/domains/defaultwrite.yaml] contains definition rooted at unreachable node ‘/hippo:configuration/hippo:domains/defaultwrite/readwrite’. Closest ancestor is at ‘/hippo:configuration/hippo:domains’.
at org.onehippo.cm.model.impl.tree.ConfigurationTreeBuilder.getOrCreateRootForDefinition(ConfigurationTreeBuilder.java:386) ~[hippo-configuration-management-model-14.7.19.jar:14.7.19]
at org.onehippo.cm.model.impl.tree.ConfigurationTreeBuilder.push(ConfigurationTreeBuilder.java:137) ~[hippo-configuration-management-model-14.7.19.jar:14.7.19]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_381]
at org.onehippo.cm.model.impl.ConfigurationModelImpl.buildModule(ConfigurationModelImpl.java:340) ~[hippo-configuration-management-model-14.7.19.jar:14.7.19]
at org.onehippo.cm.model.impl.ConfigurationModelImpl.lambda$buildConfiguration$3(ConfigurationModelImpl.java:314) ~[hippo-configuration-management-model-14.7.19.jar:14.7.19]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_381]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_381]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_381]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_381]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_381]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_381]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[?:1.8.0_381]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) ~[?:1.8.0_381]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_381]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_381]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_381]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_381]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_381]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_381]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_381]
at org.onehippo.cm.model.impl.ConfigurationModelImpl.buildConfiguration(ConfigurationModelImpl.java:314) ~[hippo-configuration-management-model-14.7.19.jar:14.7.19]
at org.onehippo.cm.model.impl.ConfigurationModelImpl.build(ConfigurationModelImpl.java:258) ~[hippo-configuration-management-model-14.7.19.jar:14.7.19]
at org.onehippo.cm.model.parser.ClasspathConfigurationModelReader.read(ClasspathConfigurationModelReader.java:94) ~[hippo-configuration-management-model-14.7.19.jar:14.7.19]
at org.onehippo.cm.model.parser.ClasspathConfigurationModelReader.read(ClasspathConfigurationModelReader.java:60) ~[hippo-configuration-management-model-14.7.19.jar:14.7.19]
at org.onehippo.cm.engine.ConfigurationServiceImpl.loadBootstrapModel(ConfigurationServiceImpl.java:849) ~[hippo-repository-engine-14.7.19.jar:14.7.19]
at org.onehippo.cm.engine.ConfigurationServiceImpl.init(ConfigurationServiceImpl.java:362) ~[hippo-repository-engine-14.7.19.jar:14.7.19]
at org.onehippo.cm.engine.ConfigurationServiceImpl.start(ConfigurationServiceImpl.java:207) ~[hippo-repository-engine-14.7.19.jar:14.7.19]
at com.onehippo.repository.HippoEnterpriseRepository.initializeConfiguration(HippoEnterpriseRepository.java:180) ~[hippo-enterprise-repository-engine-14.7.19.jar:14.7.19]
at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:292) ~[hippo-repository-engine-14.7.19.jar:14.7.19]
at com.onehippo.repository.HippoEnterpriseRepository.create(HippoEnterpriseRepository.java:65) ~[hippo-enterprise-repository-engine-14.7.19.jar:14.7.19]
at com.onehippo.repository.HippoEnterpriseRepository.create(HippoEnterpriseRepository.java:55) ~[hippo-enterprise-repository-engine-14.7.19.jar:14.7.19]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_381]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_381]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_381]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_381]
at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:147) ~[hippo-repository-connector-14.7.19.jar:14.7.19]
… 45 more
23.02.2024 16:14:31 ERROR http-nio-8080-exec-1 [HstFilter.doFilter:47] The HST Container Services are not initialized yet.

Important part:

Caused by: java.lang.IllegalStateException: core/kohler/kohler/kohler-repository-data-application [config: configuration/domains/defaultwrite.yaml] contains definition rooted at unreachable node ‘/hippo:configuration/hippo:domains/defaultwrite/readwrite’. Closest ancestor is at ‘/hippo:configuration/hippo:domains’.

@machak any settings or config is required to fix this issue

unchecked exception: java.lang.IllegalStateException: core/kohler/kohler/kohler-repository-data-application [config: configuration/domains/defaultwrite.yaml] contains definition rooted at unreachable node ‘/hippo:configuration/hippo:domains/defaultwrite/readwrite’. Closest ancestor is at ‘/hippo:configuration/hippo:domains’.

This error is telling you that you’re trying to bootstrap the readwrite node under defaultwrite but the defaultwrite node doesn’t exist. You either need to also bootstrap defaultwrite or don’t bootstrap readwrite.

Is it possible you upgraded recently? I think you have a custom security configuration that needs to be adapted to the new security model in version 14.

HI @jasper.floor , We are working on upgrading to the version 14 provided in the link below.

will let you know in case if we face any issues.

Thanks @jasper.floor , its working after updating security configuration