geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: EJB Entity Cache in Geronimo 2.1
Date Wed, 27 Feb 2008 03:29:23 GMT
On Tue, Feb 26, 2008 at 6:41 PM, ApolloX <scott@selikoff.net> wrote:

>  I don't think JPA is reading the persistence.xml for CMP2 beans.  I added
>  some parameters to and it ignored them.  Each time it deploys, it uses the
>  default broker.  Is there reason why this file might be ignored for CMP2
>  beans?

Hi,

Perhaps I don't really understand it, but could you try out putting
the persistence.xml file inside your geronimo plan as outlined in
http://cwiki.apache.org/GMOxSAMPLES/running-jboss-seam-200ga-on-geronimo-21.html.
See the The plan, esp. the part with persistence-unit name="cmp".

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message