On May 13, 2009, at 4:33 PM, Po Ki Chui wrote:
Hi,
Sorry for sending the same email, but I just wanna make sure my
email is sent to the mailing list.
It is.
Is the exception below causing any issue at all? I suspect it's just
(as it says) a warning. It could certainly be avoided by fixing the
relevant code in the cache module (3.5.9 branch is still opened, feel
free to provide patches)
I am using Magnolia 3.5.8 and recently encountered a cache error.
When I tried to set /modules/cache/config/active node to "true" or
"false", the following exception occurs and the cache functionality
is gone. Is there anyway to fix it?
WARN info.magnolia.cms.core.DefaultContent
DefaultContent.java(getNodeData:303) 23.04.2009 11:21:51 Repository
exception while trying to read property [active] for node null
javax.jcr.RepositoryException: this session has been closed
at
org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:
353)
at
org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:153)
at org.apache.jackrabbit.core.ItemImpl.getPath(ItemImpl.java:
1406)
at
info.magnolia.cms.core.DefaultNodeData.<init>(DefaultNodeData.java:99)
at
info
.magnolia.cms.core.DefaultContent.getNodeData(DefaultContent.java:267)
at
info.magnolia.cms.cache.CacheConfig.loadConfig(CacheConfig.java:171)
at
info.magnolia.cms.cache.CacheConfig.reload(CacheConfig.java:205)
at
info
.magnolia
.cms.cache.CacheConfigListener.onEvent(CacheConfigListener.java:58)
at info.magnolia.cms.util.ObservationUtil
$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:173)
at info.magnolia.cms.util.DelayedExecutor
$RunnableWrapper.run(DelayedExecutor.java:104)
at EDU.oswego.cs.dl.util.concurrent.ClockDaemon
$RunLoop.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-225" java.lang.RuntimeException:
info.magnolia.cms.beans.config.ConfigurationException: Could not
load cache configuration: this session has been closed
at
info
.magnolia
.cms.cache.CacheConfigListener.onEvent(CacheConfigListener.java:61)
at info.magnolia.cms.util.ObservationUtil
$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:173)
at info.magnolia.cms.util.DelayedExecutor
$RunnableWrapper.run(DelayedExecutor.java:104)
at EDU.oswego.cs.dl.util.concurrent.ClockDaemon
$RunLoop.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Caused by: info.magnolia.cms.beans.config.ConfigurationException:
Could not load cache configuration: this session has been closed
at
info.magnolia.cms.cache.CacheConfig.loadConfig(CacheConfig.java:192)
at
info.magnolia.cms.cache.CacheConfig.reload(CacheConfig.java:205)
at
info
.magnolia
.cms.cache.CacheConfigListener.onEvent(CacheConfigListener.java:58)
... 4 more
Caused by: javax.jcr.RepositoryException: this session has been closed
at
org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:
353)
at
org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:153)
at org.apache.jackrabbit.core.ItemImpl.getPath(ItemImpl.java:
1406)
at
info.magnolia.cms.core.DefaultContent.<init>(DefaultContent.java:128)
at
info.magnolia.cms.core.DefaultContent.getContent(DefaultContent.java:
209)
at
info.magnolia.cms.cache.CacheConfig.loadConfig(CacheConfig.java:175)
... 6 more
INFO info.magnolia.module.ModuleManagerImpl
ModuleManagerImpl.java(startModule:376) 23.04.2009 11:21:51
starting module cache
Thanks,
Po Ki
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------