Keep servlet context in Grails after container reboot -


after restarting tomcat instance properties of servlet context being lost, although active sessions still being aroung properties alive , kicking. what's best - , grails-like - way make servlet context properties survive container reboot?

afaik there's no real grails'ish way that. following standard servlet api, implement servletcontextlistener , register either web.xml directly or via webxml plugin.

the servletcontextlistener implementation supposed use normal java de-/serialization.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -