Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 139E917843 for ; Tue, 1 Sep 2015 05:49:24 +0000 (UTC) Received: (qmail 67447 invoked by uid 500); 1 Sep 2015 05:49:24 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 67411 invoked by uid 500); 1 Sep 2015 05:49:23 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 67399 invoked by uid 99); 1 Sep 2015 05:49:23 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 05:49:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 50201F0433 for ; Tue, 1 Sep 2015 05:49:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.981 X-Spam-Level: X-Spam-Status: No, score=0.981 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9DFghvbIl-Oq for ; Tue, 1 Sep 2015 05:49:13 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 38E4842B2E for ; Tue, 1 Sep 2015 05:49:13 +0000 (UTC) Received: from mfilter44-d.gandi.net (mfilter44-d.gandi.net [217.70.178.175]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 5D4B5C5A43 for ; Tue, 1 Sep 2015 07:49:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter44-d.gandi.net Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter44-d.gandi.net (mfilter44-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id S5GtH9un7q1m for ; Tue, 1 Sep 2015 07:49:05 +0200 (CEST) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.10] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id F2C83C5A3C for ; Tue, 1 Sep 2015 07:49:04 +0200 (CEST) Subject: Re: Karaf 4.0.1 JVM Extention Export to Jetty Not Working To: dev@karaf.apache.org References: From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: <55E53C53.3080005@nanthrax.net> Date: Tue, 1 Sep 2015 07:49:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hi, did you upgrade the etc/jre.properties to inform the package name or=20 just put the jar in lib/ext and that's all ? Regards JB On 08/31/2015 10:19 PM, Pietrafeso, Cameron wrote: > Sorry, I was unable to really open this defect in Jira (not sure what=92= s > wrong) so I thought I=92d just inform the mailing list directly and may= be > someone there could open it if they thought it was a bug. > > When adding a JVM extension JAR (to lib/ext), and then using a class > (static method call) from this JAR in the jetty.xml file, the call fail= s > not able to find the class (and Jetty does not start up). This is with > Karaf 4.0.1. The exact same procedure worked in previous 3.x versions > of Karaf as well as with a raw Jetty 9.x distributions. Also happens > using either Felix or Equinox. > > Attached is a test JAR (and JAVA source), the jetty.xml configuration, > and the modified jre.properties file (to export the extension package), > along with a log of Karaf when I execute: feature:install > pax-http-jetty, to startup Jetty. > --=20 Jean-Baptiste Onofr=E9 jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com