The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Java app problem (OpenJDK RE 1.6.x)

Discussion in 'General Discussion' started by PPNSteve, Oct 7, 2009.

  1. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    For some reason I can't get a java server app started using a (normal) user account. It runs fine under root.

    Code:
    ookla@ookla.1-gb.net [~]# which java
    /usr/bin/java
    ookla@ookla.1-gb.net [~]# java -version
    Picked up _JAVA_OPTIONS: -Xms20m -Xmx640m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:NewSize=10m -XX:MaxNewSize=10m -XX:SurvivorRatio=6 -XX:TargetSurvivorRatio=80 -XX:+CMSClassUnloadingEnabled -XX:+CMSClassUnloadingEnabled
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    *** glibc detected *** java: double free or corruption (out): 0xb7f53260 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x6d1595]
    /lib/libc.so.6(cfree+0x59)[0x6d19d9]
    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so[0xf58471]
    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so[0xf04bd2]
    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so[0xf05905]
    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so[0xf09cc4]
    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so(JNI_CreateJavaVM+0x53)[0xcb9d03]
    java(JavaMain+0x98)[0x804a068]
    /lib/libpthread.so.0[0x7bb5ab]
    /lib/libc.so.6(clone+0x5e)[0x739cfe]
    ======= Memory map: ========
    00110000-00135000 r-xp 00000000 08:07 87964      /lib/libm-2.5.so
    00135000-00136000 r--p 00024000 08:07 87964      /lib/libm-2.5.so
    00136000-00137000 rw-p 00025000 08:07 87964      /lib/libm-2.5.so
    00137000-00159000 r-xp 00000000 08:03 1707229    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libjava.so
    00159000-0015b000 rw-p 00022000 08:03 1707229    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libjava.so
    0015b000-00161000 r-xp 00000000 08:03 1707249    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libzip.so
    00161000-00162000 rw-p 00006000 08:03 1707249    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libzip.so
    00162000-0016b000 rwxp 00162000 00:00 0
    0016b000-00222000 rwxp 0016b000 00:00 0
    00222000-0022d000 r-xp 00000000 08:07 87966      /lib/libgcc_s-4.1.2-20080825.so.1
    0022d000-0022e000 rw-p 0000a000 08:07 87966      /lib/libgcc_s-4.1.2-20080825.so.1
    00334000-0033d000 r-xp 00000000 08:07 88585      /lib/libnss_files-2.5.so
    0033d000-0033e000 r--p 00008000 08:07 88585      /lib/libnss_files-2.5.so
    0033e000-0033f000 rw-p 00009000 08:07 88585      /lib/libnss_files-2.5.so
    004c8000-004ce000 r-xp 00000000 08:03 1810292    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/native_threads/libhpi.so
    004ce000-004cf000 rw-p 00006000 08:03 1810292    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/native_threads/libhpi.so
    00528000-00534000 r-xp 00000000 08:03 1707248    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libverify.so
    00534000-00535000 rw-p 0000b000 08:03 1707248    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libverify.so
    0064a000-00664000 r-xp 00000000 08:07 87797      /lib/ld-2.5.so
    00664000-00665000 r--p 00019000 08:07 87797      /lib/ld-2.5.so
    00665000-00666000 rw-p 0001a000 08:07 87797      /lib/ld-2.5.so
    00668000-007a7000 r-xp 00000000 08:07 87952      /lib/libc-2.5.so
    007a7000-007a8000 ---p 0013f000 08:07 87952      /lib/libc-2.5.so
    007a8000-007aa000 r--p 0013f000 08:07 87952      /lib/libc-2.5.so
    007aa000-007ab000 rw-p 00141000 08:07 87952      /lib/libc-2.5.so
    007ab000-007ae000 rw-p 007ab000 00:00 0
    007b0000-007b2000 r-xp 00000000 08:07 87959      /lib/libdl-2.5.so
    007b2000-007b3000 r--p 00001000 08:07 87959      /lib/libdl-2.5.so
    007b3000-007b4000 rw-p 00002000 08:07 87959      /lib/libdl-2.5.so
    007b6000-007c9000 r-xp 00000000 08:07 87974      /lib/libpthread-2.5.so
    007c9000-007ca000 r--p 00013000 08:07 87974      /lib/libpthread-2.5.so
    007ca000-007cb000 rw-p 00014000 08:07 87974      /lib/libpthread-2.5.so
    007cb000-007cd000 rw-p 007cb000 00:00 0
    007cf000-007d2000 r-xp 00000000 08:03 1707270    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/jli/libjli.so
    007d2000-007d3000 rw-p 00003000 08:03 1707270    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/jli/libjli.so
    007f8000-0080a000 r-xp 00000000 08:03 1510122    /usr/lib/libz.so.1.2.3
    0080a000-0080b000 rw-p 00011000 08:03 1510122    /usr/lib/libz.so.1.2.3
    0080d000-00814000 r-xp 00000000 08:07 87976      /lib/librt-2.5.so
    00814000-00815000 r--p 00006000 08:07 87976      /lib/librt-2.5.so
    00815000-00816000 rw-p 00007000 08:07 87976      /lib/librt-2.5.so
    0094e000-00961000 r-xp 00000000 08:07 87989      /lib/libnsl-2.5.so
    00961000-00962000 r--p 00012000 08:07 87989      /lib/libnsl-2.5.so
    00962000-00963000 rw-p 00013000 08:07 87989      /lib/libnsl-2.5.so
    00963000-00965000 rw-p 00963000 00:00 0
    009b0000-009b1000 r-xp 009b0000 00:00 0          [vdso]
    009b1000-00fb6000 r-xp 00000000 08:03 1810339    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so
    00fb6000-01001000 rw-p 00604000 08:03 1810339    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so
    01001000-01421000 rw-p 01001000 00:00 0
    03012000-03252000 rwxp 03012000 00:00 0
    03252000-06012000 rwxp 03252000 00:00 0
    08048000-08051000 r-xp 00000000 08:03 1707175    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
    08051000-08053000 rw-p 00008000 08:03 1707175    /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
    097f2000-09813000 rw-p 097f2000 00:00 0          [heap]
    b7f03000-b7f06000 ---p b7f03000 00:00 0
    b7f06000-b7f56000 rw-p b7f06000 00:00 0
    b7f57000-b7f5f000 rw-s 00000000 08:06 117000     /tmp/hsperfdata_ookla/21936 (deleted)
    b7f5f000-b7f60000 rw-p b7f5f000 00:00 0
    b7f60000-b7f61000 r--p b7f60000 00:00 0
    b7f61000-b7f62000 rw-p b7f61000 00:00 0
    bfa20000-bfa35000 rw-p bffea000 00:00 0          [stack]
    Aborted (core dumped)
    
    FAILS!
    But, as root:
    Code:
    root@svr2 [/home2/ookla]# java -version
    java version "1.6.0"
    OpenJDK  Runtime Environment (build 1.6.0-b09)
    OpenJDK Server VM (build 1.6.0-b09, mixed mode)
    
    Anyone have any ideas on how to fix this?

    Running RHEL5 with WHM/cPanel loaded on top.

    HELP!
     
Loading...

Share This Page