geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: Access Database Pool with Only Persistence.xml
Date Wed, 30 Jul 2008 07:32:08 GMT
I don't see any very complete docs on the subject with a quick look.

There is some info here on how to set up jta-datasource in  

You also need to make sure the module/plugin with the datasource is in  
the ancestors of your app, typically by listing it directly as a  
dependency of your app in the geronimo plan.  Maven can help you with  

Hope this helps and inspires someone to make more complete, concise,  
and non-eclipse jpa documentation.

david jencks

On Jul 29, 2008, at 5:29 PM, kurzweil4 wrote:

> Is it in any way possible to access a database pool defined on the  
> server
> merely by specifying a <jta-data-source> value in persistence.xml as  
> with
> other application servers? Currently, whatever value I put causes a
> deployment failure.
> I see that other people have the same problem as me all the time but  
> I have
> not found a definitive answer. If I understand correctly, Geronimo  
> requires
> a bunch of configuration files? Is it not possible to access the  
> data source
> with just the JEE standard files?
> If I am required to create all of these config files, that kind of  
> rules out
> Geronimo for me because I have no generator to make them. I saw the
> deployment plan generator in the console, but this is for an EAR not  
> a WAR.
> Thanks in advance for any help.
> -- 
> View this message in context:
> Sent from the Apache Geronimo - Dev mailing list archive at  

View raw message