作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经使用相同的WebSphere配置部署了该应用程序的较早版本,但是在grails 1.3.7上却没有资源或webxml插件。
我能够部署到Tomcat,但是当我向WebSphere部署相同的 war 时,尝试访问该应用程序时出现以下错误:
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.
最佳答案
如果在web.xml中使用属性:metadata-complete =“true”,则Websphere将不理会web.xml。为了编辑web.xml,您必须使用grails“install-templates”命令来获取web.xml文件的工作副本。
另请参阅:
http://www.experts-exchange.com/Software/Server_Software/Application_Servers/Java/IBM_Websphere/Q_26625087.html
关于grails - 具有 Spring 安全性的Grails应用在WAS7上导致500个过滤器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8761782/
我是一名优秀的程序员,十分优秀!