[opencms-dev] Opencms Installation crashes when using Openjdk 7 on CentOS
Heiko Biernath
heiko.biernath at mcon.net
Mon Sep 21 21:39:16 CEST 2015
Dear All,
my opencms installation crashes right before the module import. I can go through the first steps of the web interface installation successfully, until the real installation process starts and it crashes - every single time I try to install. I cannot get Opencms to work with Openjdk 1.7.
The setup works fine when using Openjdk 1.8, Openjdk 1.6 or any Oracle JDK, but any installation using Openjdk 1.7 throws an error.
Any hint is appreciated. I have seen this behaviour several times before, but I'd simply work around it by using Oracle JDK 1.7. Unfortunately changing the JDK version to anything else but Openjdk 1.7 is not an option this time.
My setup:
OS:
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.1.1503 (Core)
Release: 7.1.1503
Codename: Core
Tomcat:
tomcat-7.0.54-2.el7_1.noarch
(CentOS packaged Tomcat)
JDK:
java-1.7.0-openjdk-headless-1.7.0.85-2.6.1.2.el7_1.x86_64
java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64
(CentOS packaged Openjdk)
Opencms:
opencms-9.5.2
Error message in /var/log/messages
Sep 21 17:37:58 opencms server: #
Sep 21 17:37:58 opencms server: # A fatal error has been detected by the Java Runtime Environment:
Sep 21 17:37:58 opencms server: #
Sep 21 17:37:58 opencms server: # SIGSEGV (0xb) at pc=0x00007fb9cd7c0464, pid=23203, tid=140434244806400
Sep 21 17:37:58 opencms server: #
Sep 21 17:37:58 opencms server: # JRE version: OpenJDK Runtime Environment (7.0_85-b01) (build 1.7.0_85-mockbuild_2015_07_15_13_10-b00)
Sep 21 17:37:58 opencms server: # Java VM: OpenJDK 64-Bit Server VM (24.85-b03 mixed mode linux-amd64 compressed oops)
Sep 21 17:37:58 opencms server: # Derivative: IcedTea 2.6.1
Sep 21 17:37:58 opencms server: # Distribution: Built on CentOS Linux release 7.1.1503 (Core) (Wed Jul 15 13:10:26 UTC 2015)
Sep 21 17:37:58 opencms server: # Problematic frame:
Sep 21 17:37:58 opencms server: # C [libc.so.6+0x149464] __memcpy_ssse3_back+0x18a4
Sep 21 17:37:58 opencms server: #
Sep 21 17:37:58 opencms server: # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
Sep 21 17:37:58 opencms server: #
Sep 21 17:37:58 opencms server: # An error report file with more information is saved as:
Sep 21 17:37:58 opencms server: # /tmp/jvm-23203/hs_error.log
Sep 21 17:37:58 opencms server: #
Sep 21 17:37:58 opencms server: # If you would like to submit a bug report, please include
Sep 21 17:37:58 opencms server: # instructions on how to reproduce the bug and visit:
Sep 21 17:37:58 opencms server: # http://icedtea.classpath.org/bugzilla
Sep 21 17:37:58 opencms server: # The crash happened outside the Java Virtual Machine in native code.
Sep 21 17:37:58 opencms server: # See problematic frame for where to report the bug.
Sep 21 17:37:58 opencms server: #
Sep 21 17:37:58 opencms systemd: tomcat at opencms.service: main process exited, code=killed, status=6/ABRT
Sep 21 17:37:58 opencms server: Java virtual machine used: /usr/lib/jvm/jre/bin/java
Sep 21 17:37:58 opencms server: classpath used: /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar
Sep 21 17:37:58 opencms server: main class used: org.apache.catalina.startup.Bootstrap
Sep 21 17:37:58 opencms server: flags used: -Djava.awt.headless=true -server -Djava.security.egd=file:/dev/./urandom -XX:MaxPermSize=1024m -Xms256m -Xmx4096m -Dfile.encoding=UTF-8
Full thread dump:
http://pastebin.com/nLhMeGy7
Kind Regards, Heiko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150921/1aca2b3f/attachment.htm>
More information about the opencms-dev
mailing list