#: Andreas Amstutz changed the world a bit at a time by saying on 10/24/2005
12:29 AM :#
This is for a public instance deployed on
Fedora Core Linux / Magnolia-2.1.2
I am a magnolia newbe and wonder how I can get rid of the following
CacheHandler errors
jboss server.log:
2005-10-23 22:51:09,059 INFO [info.magnolia.cms.security.Lock] New
System lock created on Sun Oct 23 22:51:09 CEST 2005 )
2005-10-23 22:51:09,061 ERROR [info.magnolia.cms.core.CacheHandler] Can
not create directory -
/opt/jboss3/server/default/deploy/magnolia.war/cache
2005-10-23 22:51:09,062 ERROR [info.magnolia.cms.core.CacheHandler] Can
not create directory -
/opt/jboss3/server/default/deploy/magnolia.war/cache/optimized
The server runs as user "jboss"
The repository is bootstrapped to the "jboss" home dir.
Creating users & pages works as expectet and I can activate both
without problems.
But it seems that magnolia has a writing problem here
Any ideas?
some more log entries:
tail /opt/jboss3/server/default/log/magnolia/magnolia-debug.log
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 24.10.2005 00:38:12 -- NOT
Caching uri [/magcristal.html] due to a previous error
ERROR info.magnolia.cms.core.CacheHandler 24.10.2005 00:38:13 --
Failed to stream [/magcristal/mainColumnParagraphs/04/image/gic007.jpg]
due to a java.io.FileNotFoundException:
http://prispiraten.com/magcristal/mainColumnParagraphs/04/image/
gic007.jpg
java.io.FileNotFoundException:
http://prispiraten.com/magcristal/mainColumnParagraphs/04/image/
gic007.jpg
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:789)
at
info.magnolia.cms.core.CacheHandler.streamURI(CacheHandler.java:208)
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 24.10.2005 00:38:13 -- NOT
Caching uri [/magcristal/mainColumnParagraphs/04/image/gic007.jpg] due
to a previous error
Does the user jboss have 'write' access under [...]/deploy/magnolia.war
directory?
./alex
--
.w( the_mindstorm )p.
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------