Grails 对 WebSphere 7 或 8 的支持
我们在我的公司使用 Groovy on Grails 框架。管理层希望我们从 WebSphere 6.1 升级到 WebSphere 7 或 8。有谁知道当前是否支持 Groovy on Grails。
http://grails.org/Deployment 未列出受支持的 WebSphere 7 或 8。但我想知道是否有人成功地做到了这一点。
有谁知道grails是否支持WAS7或8,或者有人有部署它的经验吗?
We are using Groovy on Grails framework at my company. Management wants us to upgrade from WebSphere 6.1 to WebSphere 7 or 8. Does anyone know if Groovy on Grails is currently supported.
http://grails.org/Deployment does not list WebSphere 7 or 8 as supported. But I am wondering if someone has had success doing this anyhow.
Does anyone know if WAS7 or 8 is supported in grails, or does anyone have any experience deploying to it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我们在 WAS 7 上使用 Grails 1.3.7 取得了一些成功,但在 Grails 2.0.0 上却没有。 Spring Security 以及 WAS 如何处理 Grails 创建的过滤器似乎存在问题。
We have had some success using Grails 1.3.7 on WAS 7, but not Grails 2.0.0. There seems to be issues with Spring Security and how WAS deals with the filters that Grails creates.
我能够在 WAS 8.5(自由配置文件)上运行 Grails 2.1 应用程序。我在 WAS 平台库中遇到了旧版、不兼容的 SLF4j 版本的问题,但通过设置父级最后类加载器策略解决了这个问题。
I was able to run a Grails 2.1 app on WAS 8.5 (liberty profile). I encountered an issue with an older, incompatible version of SLF4j in the WAS platform lib, but worked around it by setting a parent-last classloader policy.
我已经使用 Grails 1.31 将简单的 Grails 应用程序部署在 WebSphere 7 和 8 上。我遇到的唯一问题是使用 ant 生成器发送电子邮件时。这是为了 WebSphere 发送旧版本的 Ant 并加载它而不是 grails 应用程序中包含的版本。这对您来说可能是问题,也可能不是问题。部署说明中提到了此问题:
http://www.grails.org/Deployment
在“我收到类似 'java.lang.NoSuchMethodError: org.apache.tools.ant.UnknownElement: method setNamespace(Ljava/lang/String;)V not found' 我该怎么办?”标题下
I've gotten simple grails applications to deploy on both WebSphere 7 and 8 using Grails 1.31. The only issue's I've had are when using the ant builder to send email. This is do to WebSphere shipping an old version of Ant and loading it instead of the version included with your grails app. This may or may not be an issue for you. This issue is mentioned in the deployment notes at
http://www.grails.org/Deployment
under the heading "I get an error like 'java.lang.NoSuchMethodError: org.apache.tools.ant.UnknownElement: method setNamespace(Ljava/lang/String;)V not found' what do I do?"
WAS 包含许多“内置”库和依赖项。我在将aspectJ 1.6部署到WAS 7上时遇到了同样的问题,因为WAS在部署和启动应用程序之前默认加载自己的库。
对此的转变显然是改变加载策略。但是,请小心这一点,因为您可能会在服务器级别遇到其他类型的错误。
WAS contains many "built-In" libraries and dependencies. I've come across the same issues deploying aspectJ 1.6 onto WAS 7 since the WAS loads by default its own libraries before deploying and staring your application.
The turn around for this is clearly to change the loading Policy. However, be careful with this since you can run into other kinds of errors at the server level.