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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1 Final
    • Fix Version/s: 2.1.1, 3.0 Beta 1
    • Component/s: core
    • Labels:
      None
    • Environment:
      Apache Tomcat/5.5.9
      JDK: 1.5.0_05-b05, Sun Microsystems Inc.
      Linux 2.6.12-1.1447_FC4 i386

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: