But I still get these FileNotFoundExceptions:
java.io.FileNotFoundException:
http://myserver.com/magcristal/pleje.html
The webapp/context name is missing in the URL. the correct URL would
be:
http://myserver.com/magnolia/magcristal/pleje.html
Do I have to fidle with the conf settings?
.// andreas
I guess you are talking about links generated from your template?
use ${pageContext.request.contextPath} to get webapp context, check
sample templates how it is used.
- Sameer
OK had a chance to look at it again.
Found out that you in your code reference the "domain" property.
CacheHandler.java -> streamURI()
String domain = info.magnolia.cms.beans.config.Cache.getDomain();
So in the config interface I modified that value from
http://myserver.com to http://myserver.com/magnolia which is the actual
app context.
Unfortunately I still get FileNotFoundException even though the file
exists at the reverenced path
tail: /opt/jboss3/server/default/log/server.log: file truncated
2005-10-25 21:37:29,581 DEBUG [info.magnolia.cms.core.CacheHandler]
Streaming uri:http://prispiraten.com/magnolia/magcristal.html
2005-10-25 21:37:29,584 ERROR [info.magnolia.cms.core.CacheHandler]
Failed to stream [/magcristal.html] due to a
java.io.FileNotFoundException:
http://prispiraten.com/magnolia/magcristal.html
2005-10-25 21:37:29,584 ERROR [info.magnolia.cms.core.CacheHandler] NOT
Caching uri [/magcristal.html] due to a previous error
What else should I check for?
../andreas
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------