There is an exception that happens of fuse-6.2.0.Final-099 when the switchyard-quickstart-camel-jpa-binding is installed.
THe same quickstart feature is not failing on Apache Karaf 2.4.x
https://gist.github.com/dvirgiln/aa734d54e3300912e235
It seems there is a difference in the fuse karaf and apache karaf 2.4.x version.
What I identified:
When the quickstart is loaded in the case of Apache Karaf (non fuse), the EntityManagerFactory service is created, while in fuse karaf it was not created.
[javax.sql.DataSource] [org.osgi.service.blueprint.container.BlueprintContainer] [javax.persistence.EntityManagerFactory] [org.ops4j.pax.cdi.spi.CdiContainer] [javax.enterprise.inject.spi.BeanManager]
On Fuse 6.2.0.Final-099;
JBossFuse:karaf@root> osgi:bundle-services 355
org.switchyard.quickstarts.switchyard.camel.jpa.binding provides: ---------------------------------- [javax.sql.DataSource] [org.osgi.service.blueprint.container.BlueprintContainer] [org.ops4j.pax.cdi.spi.CdiContainer] [javax.enterprise.inject.spi.BeanManager] JBossFuse:karaf@root>
I already tried a suggestion of Freeman to load the database blueprint service in another feature.
There is a branch with these development to make it a try (check the steps to reproduce)
|