Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-65313

Errors thrown when using a non root context

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.1 CE GA2
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
    • Fix Priority:
      3

      Description

      Steps to reproduce (on Tomcat):

      1. In a tomcat bundle ename the TOMCAT_HOME/webapps/ROOT folder to non-root-context
      2. Start the bundle

      Expected results:
      Errors should not be thrown

      Actual results:
      Errors are thrown. It doesn't appear to affect functionality though.

      Errors:

      22-Apr-2016 18:59:23.783 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
       org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@58041165]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
      	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4928)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5058)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      	... 10 more
      Caused by: java.lang.IllegalArgumentException: The main resource set specified [/Users/kenji/Projects/github/liferay-bundles/master/tomcat-8.0.32/webapps/ROOT] is not valid
      	at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:723)
      	at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:684)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      	... 13 more
      
      22-Apr-2016 18:59:23.784 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying configuration descriptor /Users/kenji/Projects/github/liferay-bundles/master/tomcat-8.0.32/conf/Catalina/localhost/ROOT.xml
       java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              kenji.heigel Kenji Heigel
              Reporter:
              kenji.heigel Kenji Heigel
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 29 weeks, 5 days ago

                Packages

                Version Package