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
Post a Comment