You can use the command "service:list NamespaceHandler". It will list all namespace handlers in the attributes you can see the namespace they support.
Does openjpa 2.2.2 work well with Aries JPA 2.x for you? The problem is that openjpa is not jta 1.2 compatible. So it can not be used with the new Aries transaction 2.0.0. As the old Aries transaction 1.3.0 is also installed this might work but I never tested this combination. I hope openjpa 2.4.1 will be out soon which works well with the newest version of Aries JPA and Aries transaction as it supports jta 1.2. Christian 2016-01-27 11:02 GMT+01:00 simon <[email protected]>: > Yes, I am mostly following the given example. As explained I did manage to > make it work. However I am now trying to make it work with the default > features that get installed for jpa and transaction. > > I have changed the blueprint headers as explained here: > http://aries.apache.org/modules/jpaproject.html > > [code] > <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" > xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.2.0" > xmlns:jpa="http://aries.apache.org/xmlns/jpa/v2.0.0"> > ... > [/code] > (i.e. - from xmlns:jpa version changed v1.1.0 to v2.0.0) > > I then installed the features using the following command > > > feature:install openjpa/2.2.2 jpa transaction > > install -s mvn:org.apache.derby/derbyclient/10.8.1.2 > > When I install the modified example I get the following in the logs: > "Bundle jpa-only/1.0.0.SNAPSHOT is waiting for namespace handlers > [http://aries.apache.org/xmlns/jpa/v2.0.0]" > > Rather than ask what the header must be I am MOSTLY interested to know how > I > can discover this myself through the installed bundles? Where do I have to > look in the installed bundles to find what namespace handler to use? > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/How-to-solve-bundle-state-GracePeriod-tp4044982p4045026.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de> Open Source Architect http://www.talend.com <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>
