【发布时间】:2012-01-06 17:22:11
【问题描述】:
我使用相同的 WebSphere 配置部署了此应用程序的早期版本,但我使用的是 grails 1.3.7,没有资源或 webxml 插件。
我能够部署到 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 小服务程序 - 2.0.0 springSecurityCore - 1.2.7 springSecurityLdap - 1.0.5
我已将 web 容器上的 invokeFiltersCompatibility 自定义属性设置为 true。
【问题讨论】:
标签: grails spring-security websphere-7