geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: Persistence deployer bugs?
Date Wed, 07 Feb 2007 22:10:35 GMT

On Feb 7, 2007, at 1:34 PM, Dain Sundstrom wrote:

> I'm confused by the way persistence units are being handled.  First  
> it seem that I must declare my persistence units in the geronimo- 
> *.xml files and that persistence.xml files in the class path are  
> not discovered.  Is that true, and if so is anyone working on  
> implementing this?

that's true, I thought david blevins said he had some code that found  
all the persistence.xmls but I haven't located that code.

> Second, it doesn't appear the the persistence unit gbean names are  
> not very unique.  Specifically, I'm seeing names like  
> "geronimo:J2EEServer=geronimo,name=cmp, j2eeType=GBean".  This  
> means that you can only have one persistence unit in the entire  
> server with a specific name.  I believe that persistence units are  
> supposed to be application scoped.  This specific bug will prevent  
> two ejb modules that use CMP to be running in the server at the  
> same time. Again, anyone aware of this, and is there anyone working  
> on it.

That looks like a bug, probably I called the wrong buildChildName  
method or supplied the wrong parent name.

please go ahead and fix these if possible.

david jencks

> -dain

View raw message