Why is hibernate-ehcache not working in Fuse 6.2 ?
Issue
Red Hat JBoss Fuse 6.2.0supportsEHcacheandHibernatebutHibernate-cachefails to start due to a unresolved dependency. Steps to reproduce:
features:install camel-cache
#This will install eh-cache
[ 286] [Active ] [ ] [ ] [ 50] ehcache (2.9.1)
#Install Hibernate-cache
osgi:install mvn:org.hibernate/hibernate-ehcache/4.2.19.Final
start <hibernate-cache-bundle-id>
- Starting it will give this error:
Error executing command: Error starting bundles:
Unable to start bundle 285: Unresolved constraint in bundle org.hibernate.ehcache [285]: Unable to resolve 285.0: missing requirement [285.0] osgi.wiring.package; (osgi.wiring.package=net.sf.ehcache.statistics.sampled)
Due to:
net.sf.ehcache.statistics.sampled is not exported by EHcache 2.9.1
Environment
- Red Hat JBoss Fuse
- 6.2.0
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.
