Deployment of custom Hibernate 4 version within EAR in EAP 6

Solution Verified - Updated -

Issue

  • Deploy a custom version of a JPA 2.0 compliant Hibernate 4 release (e.g. 4.2.8.Final) packaged within an EAR
  • ClassCastException thrown when deploying custom Hibernate 4
    • In the jboss-deployment-structure.xml the module org.hibernate has been excluded

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

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.