Play Framework 1.2.4 PROD预编译在Java 7中失败 [英] Play framework 1.2.4 PROD precompiling fails with Java 7

查看:79
本文介绍了Play Framework 1.2.4 PROD预编译在Java 7中失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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?

我的操作系统:Gentoo Linux

My OS: Gentoo Linux

推荐答案

我在OpenJDK 6中也遇到了类似的问题.原因是在我的应用程序中同时使用了Security和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.

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

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.

这篇关于Play Framework 1.2.4 PROD预编译在Java 7中失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆