AW: How to deploy JPA?

2007-03-29 Thread Ueberbach, Michael
@geronimo.apache.org Betreff: Re: How to deploy JPA? Unless someone changed the code a lot while I wasn't looking I don't think that will work. I think you need to (1) make sure your pool module is an ancestor of your ejb app: the easiest way is to make it a dependency in the geronimo plan for the ejb app

How to deploy JPA?

2007-03-28 Thread Ueberbach, Michael
Hello, I need some help in finding out the right way to deploy an ejb-application in Geronimo 2.0M3. Szenario is as follows: There is a connection-pool already deployed to an existing MySQL-Database, let's say MyTestPool. The application has some entity beans and stateless session beans using

Re: How to deploy JPA?

2007-03-28 Thread David Carew
You should be able to do it in your persistence.xml file. with the jta-data-source element e.g. jta-data-sourcejava:comp/env/MyTestPool/jta-data-source On 3/28/07, Ueberbach, Michael [EMAIL PROTECTED] wrote: Hello, I need some help in finding out the right way to deploy an ejb-application

Re: How to deploy JPA?

2007-03-28 Thread David Jencks
Unless someone changed the code a lot while I wasn't looking I don't think that will work. I think you need to (1) make sure your pool module is an ancestor of your ejb app: the easiest way is to make it a dependency in the geronimo plan for the ejb app. This has the same effect as the

AW: How to deploy JPA?

2007-03-28 Thread Ueberbach, Michael
Thanks for the help. I will try and report later. Michael Von: David Jencks [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 28. März 2007 14:24 An: user@geronimo.apache.org Betreff: Re: How to deploy JPA? Unless someone changed the code a lot while I wasn't