I have a web application using jbpm for workflow mgmt, it is currently deployed on Jboss AS 7 and is running perfectly fine.
My issue is when I try to run it over Jboss AS 5.1.0 GA, I get following issue
java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider
I have tried removing jpa and jta jars from my web-app, but that really doesn't helps. Searching abt this on google talks about : Jboss being tightly coupled to JPA1.
Did someone else has faced such an issue/ understands what is best that can be done?
Retrieving data ...