[jboss-user] [JBoss Seam] - JBoss Embedded + Tomcat + JPA

DavidInTx do-not-reply at jboss.com
Fri Jun 29 15:49:18 EDT 2007


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059313#4059313

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059313



More information about the jboss-user mailing list