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

Oracle Community | kokito | 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

    Failed to start web application in weblogic server 11g R1 RBACx

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

    Heroku error after Atlassian Bamboo deploy

    Stack Overflow | 4 years ago | Annie
    java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
  3. 0

    Grails User (Old Archive) - Grails/Weblogic 9.2 and 10

    nabble.com | 10 months ago
    java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TECHNICAL RECYCLE BIN

    wordpress.com | 1 year ago
    java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [C:\Program Files\Apache Software Foundation\Tomcat7.0.57\webapps\application1\] instead of [C:\Program Files\Apache Software Foundation\Tomcat7.0.57\webapps\application2\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
  6. 0

    java.lang.IllegalStateException: Web app root system property already set to different value: ‘webapp.root’ = [/ApplicationPath1] instead of [/ApplicationPath2] – Choose unique values for the ‘webAppRootKey’ context-param in your web.xml files! « TECHNICAL RECYCLE BIN

    wordpress.com | 11 months ago
    java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [C:\Program Files\Apache Software Foundation\Tomcat7.0.57\webapps\application1\] instead of [C:\Program Files\Apache Software Foundation\Tomcat7.0.57\webapps\application2\] - 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
      Log4jConfigListener.contextInitialized
      1. org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:139)
      2. org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:118)
      3. org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:47)
      3 frames
    3. Atmosphere weblogic
      EventsManager$FireContextListenerAction.run
      1. weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
      1 frame
    4. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    5. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    6. Atmosphere weblogic
      WebAppModule.start
      1. weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
      2. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
      3. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
      4. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
      5. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
      5 frames
    7. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      1 frame
    8. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
      1 frame
    9. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
      4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      4 frames
    10. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
      1 frame
    11. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
      3 frames
    12. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
      1 frame
    13. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
      2. weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
      3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
      3 frames
    14. weblogic.deploy.internal
      BasicDeployment.activateFromServerLifecycle
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
      3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
      3 frames
    15. weblogic.management.deploy
      DeploymentServerService.start
      1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
      2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
      3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      5. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
      6. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
      7. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
      8. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
      8 frames
    16. weblogic.t3.srvr
      SubsystemRequest.run
      1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      1 frame
    17. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      2 frames