Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 5608 invoked from network); 13 Sep 2010 18:22:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 18:22:12 -0000 Received: (qmail 82269 invoked by uid 500); 13 Sep 2010 18:22:12 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 82251 invoked by uid 500); 13 Sep 2010 18:22:12 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 82243 invoked by uid 99); 13 Sep 2010 18:22:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 18:22:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 18:21:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8DILX5O001900 for ; Mon, 13 Sep 2010 18:21:33 GMT Message-ID: <31320462.157281284402093415.JavaMail.jira@thor> Date: Mon, 13 Sep 2010 14:21:33 -0400 (EDT) From: "Jamie goodyear (JIRA)" To: issues@karaf.apache.org Subject: [jira] Commented: (KARAF-189) Java endorsed dirs on AIX (IBM JVM) In-Reply-To: <14824044.41141283786432882.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908892#action_12908892 ] Jamie goodyear commented on KARAF-189: -------------------------------------- The trouble section of code appears to be: {code} private static final SecurityManagerEx sm = new SecurityManagerEx(); private transient Class[] classContext = sm.getThrowableContext(this); {code} I have tried changing it to the following to ensure that SecurityManagerEx is instantiated. {code} private static final SecurityManagerEx sm; static { try { sm = new SecurityManagerEx(); } catch (Throwable t) { sm = null; } private transient Class[] classContext = sm != null ? sm.getThrowableContext(this) : null; {code} However I continue to experience having the SecurityManagerEx class fail to init, taking out the JVM. Setting the SecurityManagerEx to null appears to allow IBM Java 6 to continue to fully boot Karaf, as such I'd like to suggest fixing this issue as discribed, and opening another issue to restore this lost functionality. > Java endorsed dirs on AIX (IBM JVM) > ----------------------------------- > > Key: KARAF-189 > URL: https://issues.apache.org/jira/browse/KARAF-189 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.0.0 > Environment: AIX 5.3, IBM jre 1.6 sr8, power-pc > Ubuntu linux 10.04, IBM jre sr8, x86 > Reporter: haedri > Assignee: Jamie goodyear > Priority: Minor > Fix For: 2.1.0 > > > I have troubles launching karaf 2.0 on AIX, using an IBM jre (1.6 sr8), here are the relevant lines of the output : > IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc-32 > jvmap3260sr8-20100401_55940 (JIT enabled, AOT enabled) > Unhandled exception > Type=Segmentation error vmState=0x00000000 > (...) > After trying everything possible (setting LDR_CTRL, LIBPATH, ulimit,...) it appears the problem is linked to the "-Djava.endorsed.dirs" parameter from the java startup command line, if I remove the "${KARAF_HOME}/lib/endorsed" entry, then karaf starts successfully. > I've been able to reproduce the problem on a linux ubuntu on a x86 processor, using the same IBM jvm version (http://www.ibm.com/developerworks/java/jdk/linux/download.html) > I think problem comes from IBM jre (because it works on a jre 1.6 sr0), but I din't investigate enough to be sure -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.