2012-01-06 47 views
0

我有一个早期版本的应用程序,它使用相同的WebSphere配置进行部署,但我在grails 1.3.7上使用了资源或webxml插件。Grails应用程序,弹簧安全性导致WAS7上出现500次过滤错误

我能部署到Tomcat,但是当我部署相同的战争到WebSphere我收到以下错误,当我尝试访问该应用程序:

Error 500: 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. 
Exception Message: 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. 
Caused by: Filter [springSecurityFilterChain]: filter is unavailable. 

的Grails版本:2.0.0 的Groovy版本:1.8.4 JVM版本:1.6.0_29

安装的插件 核心 - 2.0.0 资源 - 1.1.6 webxml - 1.4.1 的servlet - 2.0.0 springSecurityCore - 1.2.7 springSecurityLdap - 1.0.5

我已将webcontainer上的invokeFiltersCompatibility自定义属性设置为true。

回答