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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With