3 Replies Latest reply on Oct 31, 2007 5:48 AM by Pete Muir

    JBoss Embedded + Tomcat + JPA

    davidintx Newbie

      In 2.0.0.BETA, the deploy.tomcat target was been removed from the JPA example. The commit message when that was removed on 6/15/2007 was "update examples to use jboss-embedded." Does that mean if I have configured my tomcat instance to use jboss-embedded, I should be able to deploy the default jboss build of the JPA example to it? Because...that doesn't work--I get

      *** CONTEXTS IN ERROR: Name -> Error
      persistence.units:unitName=bookingDatabase -> java.lang.RuntimeException: You have not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence context named: bookingDatabase

      On the other hand, there is still an examples/jpa/resources/tomcat directory--perhaps the deploy.tomcat target just got removed inadvertently?