[ http://jira.magnolia.info/browse/MAGNOLIA-557?page=comments#action_11314 
] 

Markus Strickler commented on MAGNOLIA-557:
-------------------------------------------

Workaround is to set the domain value in server/cache/level1/domain to 
http://www.mysite.net


> Cache doesn't work if public isntance is run as root context
> ------------------------------------------------------------
>
>          Key: MAGNOLIA-557
>          URL: http://jira.magnolia.info/browse/MAGNOLIA-557
>      Project: magnolia wcm
>         Type: Bug
>   Components: core
>     Versions: 2.1 Final
>  Environment: Apache Tomcat/5.5.9 
> JDK: 1.5.0_05-b05,  Sun Microsystems Inc. 
> Linux         2.6.12-1.1447_FC4  i386
>     Reporter: Markus Strickler
>     Assignee: Boris Kraft
>     Priority: Minor

>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to