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] - 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"
          xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
          <persistence-unit name="punit">
          <properties><property name="hibernate.show_sql" value="true"></property></properties>


      and also the log file in PJ


      tahnks you,