oracle.oc4j.admin.internal.DeployerException

Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web98

  • via Oracle Community by 543715, 11 months ago
    Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!
  • via Oracle Community by 588388, 1 year ago
    java.lang.InstantiationException: Application: application1 is in failed state as initialization failed
  • via Oracle Community by 550421, 1 year ago
    java.lang.InstantiationException: Application: ojspdemos is in failed state as initialization failed
  • Stack trace

    • oracle.oc4j.admin.internal.DeployerException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml! at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.