0 Replies Latest reply on Nov 21, 2013 7:59 PM by Hoai Linh Nguyen

    Deploy Appfuse struts in Jboss EAP 6.1?

    Hoai Linh Nguyen Newbie

      I use Appfuse with struts2 and trying to deploy in Jboss EAP 6.1. I already read the Migration-Guide but I can't solve my problem. My Appfuse use struts2 and hibernate 4 packed inside WAR file. Deploy tomcat or jetty well.

      Thing I have tried:

      Add: jboss-deployment-structure.xml in WEB-INF/:





        <module name="org.hibernate" />





      And add property in Persistent.xml:



              <property name="hibernate.show_sql" value="false" />

              <property name="jboss.as.jpa.providerModule" value="application" />



      After that, I get error about ClassCastException:


          05:13:07,640 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."claim.war#ApplicationEntityManager": org.jboss.msc.service.StartException in service jboss.persistenceunit."claim.war#ApplicationEntityManager": java.util.ServiceConfigurationError: org.hibernate.integrator.spi.Integrator: Provider org.hibernate.search.hcore.impl.HibernateSearchIntegrator could not be instantiated: java.lang.ClassCastException


      Please help.