0 Replies Latest reply on Jul 25, 2012 1:47 AM by Rajan Vij

    Using jBPM with 5.1.0 GA

    Rajan Vij Newbie

      Hi All,


      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

      at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:300)



      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?