Bundle with persistence xml not exposing EntityManagerFactory in Red Hat JBoss Fuse 6.1.0.
Issue
- First time on container start, a particular bundle is not exporting the EMF.
- While once I do update on that bundle, I am able to see services like below
[ 722] [Active ] [ ] [ ] [ 60] My BundleAPI (1.0.0.SNAPSHOT)
JBossFuse:admin@worker> ls 722
ECF Wiretapping API (722) provides:
-----------------------------------
objectClass = javax.persistence.EntityManagerFactory
org.apache.aries.jpa.container.managed = true
org.apache.aries.jpa.default.unit.name = false
osgi.unit.name = writeback-persistence-unit
osgi.unit.provider = org.hibernate.ejb.HibernatePersistence
osgi.unit.version = 1.0.0.SNAPSHOT
service.id = 408
Environment
- Red Hat JBoss Fuse
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
