0 Replies Latest reply on Feb 2, 2010 5:45 AM by mohammed sahmi

    Jboss 5.0.1GA + JPA probleme in deploy

    mohammed sahmi Newbie

      hallo every body ,

      I have a  probleme when i deploy my application into Jboss 5.0.1GA , the same application is delpoying correct using Jboss 4.2.

      the probleme is : Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named: punit

       

      here is my persistence.xml

       

      <persistence xmlns="http://java.sun.com/xml/ns/persistence"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
          version="1.0">
          <persistence-unit name="punit">
          <properties><property name="hibernate.show_sql" value="true"></property></properties>
          </persistence-unit>
      </persistence>

       

      and also the log file in PJ

       

      tahnks you,