Tagged: , ,

This topic has 2 replies, 3 voices, and was last updated 2 weeks, 3 days ago by Scott Heger.

  • Author
    Posts
  • #28699
     ocampad
    Participant

    Hi,

    Would like help starting up an AM.7.1.0.war file using tomcat 10.0.11 am.war

    FAIL – Application at context path [/am] could not be started
    FAIL – Encountered exception [org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/am]]]

    7-Sep-2021 16:45:32.189 SEVERE [main] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/opt/tomcat/webapps/am.war]
    java.lang.IllegalStateException: Error starting child
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1027)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2001)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:828)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:478)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1708)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:320)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
    at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
    at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:886)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:795)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/am]]
    at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
    … 37 more
    Caused by: java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name [DisableSameSiteCookiesFilter]
    at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:3110)
    at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:3072)
    at org.apache.catalina.startup.ContextConfig.configureContext(ContextConfig.java:1453)
    at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1329)
    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:986)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:303)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5084)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    … 38 more

    #28700
     Andrew Potter
    Participant

    Looking at the AM 7.1 release notes would suggest Tomcat 10 is not supported.
    https://backstage.forgerock.com/docs/am/7.1/release-notes/web-container-requirements.html#web-container-requirements
    Try Tomcat v9?

    #28702
     Scott Heger
    Participant

    I had someone else have this issue and it was in fact due to using Tomcat 10. Use Tomcat 9 as Andrew suggests and you should be fine.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?