Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005080 [Resin] minor always 05-17-12 17:38 06-14-12 19:29
Reporter rickHigh View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0005080: Resin JNI support causes error with OpenJDK 1.6.0_22-b22 on CentOS6.2
Description  Looks like some issue with that version of the OpenJDK running on CentOS 6 and Resin. I have personally used Resin on CentOS 5.4 with no problems with the OpenJDK.

I plan on installing CentOS 6.2 and see if I can reproduce it, and maybe come up with some workarounds (a few come to mind, like disabling JNI support, using Oracle 's JVM, etc.).


Linux 2.6.32-220.13.1.el6.x86_64 amd64
[12-05-17 09:57:29.940] {main} OpenJDK Runtime Environment 1.6.0_22-b22, UTF-8, en
[12-05-17 09:57:29.940] {main} OpenJDK 64-Bit Server VM 20.0-b11, 64, mixed mode, Sun Microsystems Inc.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=13362, tid=140465268582144
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.10.6
# Distribution: CentOS release 6.2 (Final), package rhel-1.43.1.10.6.el6_2-x86_64
# Problematic frame:
# C 0x0000000000000000
#
# An error report file with more information is saved as:
# /var/www/hs_err_pid13362.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla [^]
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Additional Information
Attached Files

- Relationships

- Notes
(0005765)
rickHigh
05-18-12 14:19

So far unable to reproduce the problem.
 
(0005766)
rickHigh
05-18-12 16:21

Tried setting up OpenSSL support for admin to see if OpenSSL support was causing the issue with JNI.


Caused by: java.lang.UnsatisfiedLinkError: /usr/local/share/resin-4.0.27/libexec64/libresinssl.so: libssl.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)

I get the above error instead.

It appears we are looking for libssl.so.6

This machine has CentOS 6.2 on it and I did an instal of openssl, we get this:


# ls /usr/lib64/libssl*
/usr/lib64/libssl3.so /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.1.0.0

There is a libssl.so.10 but no libssl.so.6.
 
(0005768)
rickHigh
05-18-12 17:10

I was able to reproduce this by recompiling resin and not using the RPM...


WarningService: Shutdown: Resin shutdown from watchdog stop 'watchdog@admin.resin.caucho'
[12-05-18 16:52:40.421] {resin-main-link} WarningService: Shutdown: Resin shutdown from watchdog stop 'watchdog@admin.resin.caucho'
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=18416, tid=140038216062720
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.10.6
# Distribution: CentOS release 6.2 (Final), package rhel-1.43.1.10.6.el6_2-x86_64
# Problematic frame:
# C 0x0000000000000000
#
# An error report file with more information is saved as:
# /var/www/hs_err_pid18416.log
[thread 140038146881280 also had an error]
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla [^]
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Resin Professional 4.0.27 (built Thu, 22 Mar 2012 06:15:05 PDT)
Copyright(c) 1998-2012 Caucho Technology. All rights reserved.

  1013792.license -- 1 Resin server Caucho

Starting Resin Professional on Fri, 18 May 2012 16:54:10 -0700 (PDT)

[12-05-18 16:54:12.075] {main} Proxy Cache disk-size=1024M memory-size=16M
[12-05-18 16:54:12.203] {main} http listening to *:8080
[12-05-18 16:54:12.203] {main} http listening to *:8443
OpenSSL support compiled for OpenSSL 1.0.0-fips 29 Mar 2010
[12-05-18 16:54:12.234] {main}
[12-05-18 16:54:12.235] {main} Resin Professional 4.0.27 (built Thu, 22 Mar 2012 06:15:05 PDT)
[12-05-18 16:54:12.235] {main}
 

- Issue History
Date Modified Username Field Change
05-17-12 17:38 rickHigh New Issue
05-18-12 14:19 rickHigh Note Added: 0005765
05-18-12 16:21 rickHigh Note Added: 0005766
05-18-12 17:10 rickHigh Note Added: 0005768
06-14-12 19:29 ferg Assigned To  => ferg
06-14-12 19:29 ferg Status new => closed
06-14-12 19:29 ferg Resolution open => fixed
06-14-12 19:29 ferg Fixed in Version  => 4.0.29


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker