karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Karaf 4.0.1 JVM Extention Export to Jetty Not Working
Date Tue, 01 Sep 2015 05:49:07 GMT
Hi,

did you upgrade the etc/jre.properties to inform the package name or 
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’s
> wrong) so I thought I’d just inform the mailing list directly and maybe
> 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 fails
> 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.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message