Affects Version/s: Grails-Cloud-Foundry 1.2.1
Fix Version/s: None
Environment:Mac OS 10.7
The Grails application does not start correctly with the latest spring-security-core plugin (184.108.40.206). While it's working fine with a "run-app" in dev mode an deployment to cloudfoundry.com results in following error:
No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
Latest spring-security-core and resources plugin where used:
As discussed on the mailling list the last compatible spring-security-core plugin is v1.2.4. After downgrading to this version is also working on cloudfoundry.com