You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Charles Moulliard <cm...@gmail.com> on 2009/12/04 15:24:29 UTC

Apache Felix Karaf & Equinox : ERROR / BUG

I try to deploy a camel-example-etl bundle configured to run with openjpa on
apache Felix Karaf

When I try to start the bundle, I receive the following errors

The bundle could not be resolved. Reason: Missing Constraint:
Import-Package: org.apache.openjpa.jdbc.kernel; version="[1.2.0,2.0.0)"

Here is the config of import

org.apache.openjpa.jdbc.kernel;version="[1.2,2.0)";resolution=optional,

If I try without the resolution=optional, I get this error

The bundle could not be resolved. Reason: Package uses conflict:
Import-Package: org.apache.openjpa.jdbc.kernel; version="[1.2.0,2.0.0)"

Here is what export the bundle openjpa

karaf@root> packages:exports 62

Apache ServiceMix Bundles: openjpa-1.2.1 (62):
org.apache.openjpa.jdbc.kernel; version="1.2.1"

WHAT IS WRONG ? IS IT A BUG ?

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm

Re: Apache Felix Karaf & Equinox : ERROR / BUG

Posted by Charles Moulliard <cm...@gmail.com>.
You are right

;-)

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm


On Fri, Dec 4, 2009 at 3:28 PM, Karl Pauls <ka...@gmail.com> wrote:

> On Fri, Dec 4, 2009 at 3:24 PM, Charles Moulliard <cm...@gmail.com>
> wrote:
> > I try to deploy a camel-example-etl bundle configured to run with openjpa
> on
> > apache Felix Karaf
> >
> > When I try to start the bundle, I receive the following errors
> >
> > The bundle could not be resolved. Reason: Missing Constraint:
> > Import-Package: org.apache.openjpa.jdbc.kernel; version="[1.2.0,2.0.0)"
> >
> > Here is the config of import
> >
> > org.apache.openjpa.jdbc.kernel;version="[1.2,2.0)";resolution=optional,
>
> This needs to be resolution:=optional no?
>
> regards,
>
> Karl
>
> >
> > If I try without the resolution=optional, I get this error
> >
> > The bundle could not be resolved. Reason: Package uses conflict:
> > Import-Package: org.apache.openjpa.jdbc.kernel; version="[1.2.0,2.0.0)"
> >
> > Here is what export the bundle openjpa
> >
> > karaf@root> packages:exports 62
> >
> > Apache ServiceMix Bundles: openjpa-1.2.1 (62):
> > org.apache.openjpa.jdbc.kernel; version="1.2.1"
> >
> > WHAT IS WRONG ? IS IT A BUG ?
> >
> > Charles Moulliard
> > Senior Enterprise Architect
> > Apache Camel Committer
> >
> > *****************************
> > blog : http://cmoulliard.blogspot.com
> > twitter : http://twitter.com/cmoulliard
> > Linkedlin : http://www.linkedin.com/in/charlesmoulliard
> >
> > Apache Camel Group :
> > http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
> >
>
>
>
> --
> Karl Pauls
> karlpauls@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Re: Apache Felix Karaf & Equinox : ERROR / BUG

Posted by Karl Pauls <ka...@gmail.com>.
On Fri, Dec 4, 2009 at 3:24 PM, Charles Moulliard <cm...@gmail.com> wrote:
> I try to deploy a camel-example-etl bundle configured to run with openjpa on
> apache Felix Karaf
>
> When I try to start the bundle, I receive the following errors
>
> The bundle could not be resolved. Reason: Missing Constraint:
> Import-Package: org.apache.openjpa.jdbc.kernel; version="[1.2.0,2.0.0)"
>
> Here is the config of import
>
> org.apache.openjpa.jdbc.kernel;version="[1.2,2.0)";resolution=optional,

This needs to be resolution:=optional no?

regards,

Karl

>
> If I try without the resolution=optional, I get this error
>
> The bundle could not be resolved. Reason: Package uses conflict:
> Import-Package: org.apache.openjpa.jdbc.kernel; version="[1.2.0,2.0.0)"
>
> Here is what export the bundle openjpa
>
> karaf@root> packages:exports 62
>
> Apache ServiceMix Bundles: openjpa-1.2.1 (62):
> org.apache.openjpa.jdbc.kernel; version="1.2.1"
>
> WHAT IS WRONG ? IS IT A BUG ?
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>



-- 
Karl Pauls
karlpauls@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org