felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: Karaf 1.4.0 and ActiveMQ 5.3.1
Date Fri, 09 Apr 2010 12:48:21 GMT
It's a kinda hard problem to decide which packages to export or not.
The solution that has been used was to export packages that are present in
JDK 5 only,  so that all new features from JDK 6 are not available.  The
reason is to make sure that people can run without changes on both JDK 5 and
When we need such a package, we usually deploy a bundle providing this
package, such as:


On Fri, Apr 9, 2010 at 14:26, Bengt Rodehav <bengt@rodehav.com> wrote:

> Hi everyone!
> I've been trying to get ActiveMQ 5.3.1 working on Karaf 1.4.0. I
> started using the Karaf features provided by ActiveMQ 5.3.1
> (org.apache.activemq/activemq-karaf/5.3.1/xml/features). However, I
> then made my own version of it since the version provided by ActiveMQ
> refers to Karaf 1.1.0-SNAPSHOT and Spring version 2.5.6. I wanted to
> use Karaf 1.4.0 and Spring 2.5.6.SEC01.
> Anyway, regardless of which version of feature file I use, I get
> unresolved constraints when trying to install the activemq feature.
> The missing package is "javax.annotation". The workaround for me has
> been to modiy the config.properties file in Karaf and add the
> following line (both for jre-1.5 and jre-1.6):
>  javax.annotation; version=1.0.0, \
> Is this a known problem? Am I doing it the write way? Why doesn't
> Karaf export javax.annotation by default?
> /Bengt
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org

Guillaume Nodet
Blog: http://gnodet.blogspot.com/
Open Source SOA

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message