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
persistence.xml:
http://cwiki.apache.org/GMOxDOC21/datasource-connectionfactory-mdb-and-jpa.html
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
this:
http://cwiki.apache.org/GMOxDOC21/constructing-a-special-purpose-server-using-maven.html
Hope this helps and inspires someone to make more complete, concise,
and non-eclipse jpa documentation.
thanks
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:
http://www.nabble.com/Access-Database-Pool-with-Only-Persistence.xml-tp18723940s134p18723940.html
Sent from the Apache Geronimo - Dev mailing list archive at
Nabble.com.