0 Replies Latest reply on Oct 9, 2012 6:50 AM by Iván Terron

    GWT 2.4.0 in JBoss AS 5.1

    Iván Terron Newbie

      Hi Everybody,


      I'm trying to deploy a GWT aplication in JBoss AS 5.1, and the console show this error:


      java.lang.RuntimeException: Specification violation [EJB3 JPA] - You have not defined a jta-data-source for a JTA enabled persistence context named: transactions-optional


      The problems is the persistence.xml file that GWT compilations generate in eclipse, but I don't know what.


      <?xml version="1.0" encoding="UTF-8" ?>

      <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="transactions-optional">



                  <property name="datanucleus.NontransactionalRead" value="true"/>

                  <property name="datanucleus.NontransactionalWrite" value="true"/>

                  <property name="datanucleus.ConnectionURL" value="appengine"/>





      Somebody helps me, please!!!!!


      Thank you,