Play 框架 1.2.4 PROD 预编译在 Java 7 中失败

发布于 2024-12-22 08:10:47 字数 892 浏览 0 评论 0原文

我尝试使用 Java 7 在 PROD 模式下运行我的 play 应用程序,我感到很惊讶。预编译失败:

10:28:18,819 INFO  ~ Precompiling ...
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb6ed766c, pid=27336, tid=2673077104
#
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) Server VM (21.1-b02 mixed mode linux-x86 )
# Problematic frame:
# V  [libjvm.so+0x4fc66c]  PhaseIdealLoop::build_loop_late_post(Node*)+0x15c
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /media/projects/myApp/hs_err_pid27336.log
[thread -1231336592 also had an error]
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

可能有人有同样的问题?

我的操作系统:Gentoo Linux

I have try to run my play application in PROD mode with Java 7 and I was surprised. Precompiling fails:

10:28:18,819 INFO  ~ Precompiling ...
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb6ed766c, pid=27336, tid=2673077104
#
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) Server VM (21.1-b02 mixed mode linux-x86 )
# Problematic frame:
# V  [libjvm.so+0x4fc66c]  PhaseIdealLoop::build_loop_late_post(Node*)+0x15c
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /media/projects/myApp/hs_err_pid27336.log
[thread -1231336592 also had an error]
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

May be someone has the same problem?

My OS: Gentoo Linux

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

橘和柠 2024-12-29 08:10:47

我在使用 OpenJDK 6 时遇到了类似的问题。原因是在我的应用程序中同时使用了 Security 和 CRUD 模块。我仍然不确定为什么,但当我删除其中一个模块时,它起作用了。

就我而言,迁移到 Sun JDK 6 解决了这个问题。由于您已经在使用 HotSpot,除了更新到非 beta 版本之外,我建议禁用一些模块(CRUD 模块,如果您使用它,可能是第一个目标)以查看它们是否是失败的原因。

I had a similar problem with OpenJDK 6. The reason was using both Security and CRUD modules in my app. I'm not still sure why but when I removed one of the modules it worked.

In my case moving to Sun JDK 6 sovled the issue. As you are already using HotSpot, besides updating to a non-beta version I would suggest disabling some modules (CRUD module, if you use it, may be the first target) to see if they are the reason it fails.

沐歌 2024-12-29 08:10:47

我们在 Windows 7 JDK 1.7 update 3 上遇到了类似的问题,并更新到 4 修复了该问题。

We had similar issue on Windows 7 JDK 1.7 update 3 and updating to 4 fixed it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文