Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-557

Cache doesn't work if public isntance is run as root context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.1, 3.0 Beta 1
    • 2.1 Final
    • core
    • None
    • Apache Tomcat/5.5.9
      JDK: 1.5.0_05-b05, Sun Microsystems Inc.
      Linux 2.6.12-1.1447_FC4 i386

      Used the magnoliaPublic.war and set it up in Tomcat as root context.
      On first access of http://www.mysite.net/ the following errors occur in the log:

      WARN info.magnolia.cms.servlets.ResourceDispatcher ResourceDispatcher.java(getNodedataAstream:184) 01.10.2005 17:29:14 Resource not found: [/]
      ERROR info.magnolia.cms.core.CacheHandler CacheHandler.java(streamURI:200) 01.10.2005 17:29:14 Failed to stream [/features.html] due to a java.io.FileNotFoundException: http://www.mysite.net//features.html
      java.io.FileNotFoundException: http://www.mysite.net//features.html
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147)
      at info.magnolia.cms.core.CacheHandler.streamURI(CacheHandler.java:193)
      at info.magnolia.cms.core.CacheHandler.cacheURI(CacheHandler.java:100)
      at info.magnolia.cms.core.CacheProcess.run(CacheProcess.java:43)
      ERROR info.magnolia.cms.core.CacheHandler CacheHandler.java(cacheURI:106) 01.10.2005 17:29:14 NOT Caching uri [/features.html] due to a previous error
      WARN info.magnolia.cms.servlets.ResourceDispatcher ResourceDispatcher.java(getNodedataAstream:184) 01.10.2005 17:29:14 Resource not found: [/]
      ERROR info.magnolia.cms.core.CacheHandler CacheHandler.java(streamURI:200) 01.10.2005 17:29:14 Failed to stream [/features.html] due to a java.io.FileNotFoundException: http://www.mysite.net//features.html
      java.io.FileNotFoundException: http://www.mysite.net//features.html
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147)
      at info.magnolia.cms.core.CacheHandler.streamURI(CacheHandler.java:193)
      at info.magnolia.cms.core.CacheHandler.cacheURI(CacheHandler.java:125)
      at info.magnolia.cms.core.CacheProcess.run(CacheProcess.java:43)
      ERROR info.magnolia.cms.core.CacheHandler CacheHandler.java(streamURI:200) 01.10.2005 17:29:14 Failed to stream //features.html due to a java.io.FileNotFoundException: http://www.mysite.net///features.html
      java.io.FileNotFoundException: http://www.mysite.net///features.html
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147)
      at info.magnolia.cms.core.CacheHandler.streamURI(CacheHandler.java:193)
      at info.magnolia.cms.core.CacheHandler.cacheURI(CacheHandler.java:100)
      at info.magnolia.cms.core.CacheProcess.run(CacheProcess.java:43)
      ERROR info.magnolia.cms.core.CacheHandler CacheHandler.java(cacheURI:106) 01.10.2005 17:29:14 NOT Caching uri //features.html due to a previous error

      Page is displayed OK once. Subsequent requests display a blank page.

        Acceptance criteria

              fgiust Fabrizio Giustina
              kusako Markus Strickler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD