HttpApplicationException: Unable to start OpenIG

Tagged: ,

This topic has 2 replies, 2 voices, and was last updated 4 years, 3 months ago by srinath.m.

  • Author
  • #22381

    Hi All,

    When I start OpenIG, I am getting the below error in route-system.log file

    16:30:37:369 | ERROR | localhost-startStop-1 | o.f.h.s.HttpFrameworkServlet | Error while starting the application.
    org.forgerock.http.HttpApplicationException: Unable to start OpenIG
    at org.forgerock.openig.http.GatewayHttpApplication.start(
    at org.forgerock.http.servlet.HttpFrameworkServlet.init(
    at javax.servlet.GenericServlet.init(
    at org.apache.catalina.core.StandardWrapper.initServlet(
    at org.apache.catalina.core.StandardWrapper.load(
    at org.apache.catalina.core.StandardContext.loadOnStartup(
    at org.apache.catalina.core.StandardContext.startInternal(
    at org.apache.catalina.util.LifecycleBase.start(
    at org.apache.catalina.core.ContainerBase.addChildInternal(
    at org.apache.catalina.core.ContainerBase.addChild(
    at org.apache.catalina.core.StandardHost.addChild(
    at org.apache.catalina.startup.HostConfig.deployWAR(
    at org.apache.catalina.startup.HostConfig$
    at java.util.concurrent.Executors$ Source)
    at Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$ Source)
    at Source)
    Caused by: org.forgerock.json.JsonValueException: /heap/0/type: java.lang.ClassNotFoundException: FileLogSink
    at org.forgerock.openig.util.JsonValues.classForName(
    at org.forgerock.openig.util.JsonValues.asClass(
    at org.forgerock.openig.heap.HeapImpl.addDeclaration(
    at org.forgerock.openig.heap.HeapImpl.init(
    at org.forgerock.openig.http.GatewayHttpApplication.start(
    … 17 common frames omitted
    Caused by: java.lang.ClassNotFoundException: FileLogSink
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.forgerock.openig.util.JsonValues.classForName(
    … 21 common frames omitted

    OpenIG version – IG-eval-5.5.0.war

    Here is my openig config.json file settings


    Any help on this would be appreciated.



    Hi srinath.m,

    Since OpenIG 5, the OpenIG class logger has been replaced by SLF4J class logger.

    As specified in,
    the following classes are removed in this release: ConsoleLogSink, FileLogSink, Slf4jLogSink.
    SLF4J is now provided in OpenIG, allowing you to define different logging behavior for routes and third-party dependencies.

    You will have to remove the “FileLogSink” object from your heap configuration.

    For further details about logging, please have a look at:



    Thanks for the quick reply @violette. I have followed your suggestions to resolve the error.

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

You must be logged in to reply to this topic.

©2022 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?