java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded

Oracle Community | DSD | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Oracle Identity Analytics (OIA 11g) Deployment failure in weblogic server

    Oracle Community | 6 years ago | DSD
    java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
  2. 0

    Glennn's Stuff: Problems with the webapp.root system property when using Tomcat & Log4J.

    blogspot.com | 1 year ago
    java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [MyPath\EclipseProjects\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\app1Name\] instead of [MyPath\EclipseProjects\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\app2Name\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot set web app root system property when WAR file is not expanded

      at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty()
    2. Spring
      Log4jWebConfigurer.initLogging
      1. org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:139)
      2. org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:118)
      2 frames