New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Cache Service does not support restart #297

cescoffier opened this Issue Aug 3, 2014 · 0 comments


None yet
1 participant

cescoffier commented Aug 3, 2014

When the application configuration service disappears and re-appears (because of a modification on the application.conf file), the cache service is broken. The EHCache Cache object is in a broken state, and a new instance should be recreated.

Caused by: java.lang.IllegalStateException: The wisdom Cache is not alive (STATUS_SHUTDOWN)
    at net.sf.ehcache.Cache$CacheStatus.checkAlive( ~[na:na]
    at net.sf.ehcache.Cache.checkStatus( ~[na:na]
    at net.sf.ehcache.Cache.get( ~[na:na]
    at net.sf.ehcache.Cache.get( ~[na:na]
    at org.wisdom.cache.ehcache.EhCacheService.__M_get( ~[na:na]
    at org.wisdom.cache.ehcache.EhCacheService.get( ~[na:na]
    at org.wisdom.api.cache.Cache$$Proxy.get(Unknown Source) ~[na:na]
    at me.escoffier.fut.backend.impl.ItemManagerImpl.__M_getPlayerName( ~[na:na]
    at me.escoffier.fut.backend.impl.ItemManagerImpl.getPlayerName( ~[na:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0]
    at sun.reflect.NativeMethodAccessorImpl.invoke( ~[na:1.8.0]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[na:1.8.0]
    at java.lang.reflect.Method.invoke( ~[na:1.8.0]
    at ognl.OgnlRuntime.invokeMethod( ~[na:na]
    at ognl.OgnlRuntime.callAppropriateMethod( ~[na:na]
    at ognl.ObjectMethodAccessor.callMethod( ~[na:na]
    at ognl.OgnlRuntime.callMethod( ~[na:na]
    at ognl.ASTMethod.getValueBody( ~[na:na]
    at ognl.SimpleNode.evaluateGetValueBody( ~[na:na]
    at ognl.SimpleNode.getValue( ~[na:na]
    at ognl.ASTChain.getValueBody( ~[na:na]
    at ognl.SimpleNode.evaluateGetValueBody( ~[na:na]
    at ognl.SimpleNode.getValue( ~[na:na]
    at ognl.Ognl.getValue( ~[na:na]
    at ognl.Ognl.getValue( ~[na:na]

@cescoffier cescoffier added this to the 0.7 milestone Aug 3, 2014

@cescoffier cescoffier added the bug label Aug 3, 2014

@cescoffier cescoffier closed this in 4919b85 Aug 4, 2014

@cescoffier cescoffier modified the milestones: 0.7, 0.6.3 Sep 1, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment