Fuse 6.1: Exception "org.hibernate.engine.TypedValue not found by org.apache.servicemix.bundles.ehcache"

Solution Verified - Updated -

Issue

An application running on JBoss Fuse uses a Hibernate NamedQuery with caching enabled:

@NamedQuery(name = "SomeTable.findBySomething", hints = {@QueryHint(name = "org.hibernate.cacheable", value = "true" )}

The application builds without errors, but fails at runtime, with the following exception in the log:

org.springframework.orm.hibernate3.HibernateSystemException: net.sf.ehcache.CacheException: 
java.lang.ClassNotFoundException:  org.hibernate.engine.TypedValue not found by org.apache.servicemix.bundles.ehcache; 

Environment

  • Red Hat JBoss Fuse
    • 6.0
    • 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.