Hi Christian,

I'm trying to follow your excellent tutorial here:

http://www.liquid-reality.de/display/liquid/2015/03/05/Apache+Karaf+Tutorial+Part+9+-+Annotation+based+blueprint+and+JPA
 

I've got it working nicely in standalone karaf 4.0.3 but my requirement for
the project I'm working on is to use servicemix 6.0.0, which only contains
karaf 3.0.5.

I saw that another user had a similar requirement and you suggested manually
installing the additional bundles.  I've tried installing all I can.  I
added the enterprise 4.0.3 repo and manualling installing the latest jpa and
persistence-api features, which seemed to work ok.  However it also looks
for jndi feature, which I hit a block with when I attempted to install jndi
(and others) I get a bigger problem:

java.lang.IllegalStateException: Can't install feature jndi/0.0.0:      
Can not resolve feature:
Unsatisfied requirement(s):
---------------------------
  
package:(&(package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))
      Apache Karaf :: JNDI :: Core

How do I resolve this?  

Or alternatively, am I going down the wrong route- instead of trying to
upgrade my karaf install by adding these features, should I instead be
trying to change/remove features from your sample code to enable it to work
in karaf 3.0.5?  If I was to go down that route, could you provide a little
bit of help to get me started please?

Sorry for asking fairly basic questions - I'm completely new to osgi and
karaf/servicemix so am on a bit of a learning curve.

Thanks,

Kevin






--
View this message in context: 
http://servicemix.396122.n5.nabble.com/OSGi-JPA-tp5715741p5723255.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to