geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jck <jonathan.kap...@gmail.com>
Subject Re-creating SampleTxDatasource/SampleNoTxDatasource by hand...
Date Thu, 06 Nov 2008 22:57:09 GMT

I am working myself up to speed with Geronimo EJB3+JPA, and am wrestling with
the same 
http://markmail.org/message/rlhorr23z7akikbo#query:JtaDataSourceWrapper+page:1+mid:6x3ou4tzrk7zfeci+state:results
JtaDataSourceWrapper problem  that will (hopefully) be addressed by 
https://issues.apache.org/jira/browse/GERONIMO-4331 Jira issue 4331 .
Basically, I'm stumped as to how to create a set of jta and non-jta
datasources similar to SampleTxDatasource and SampleNoTxDatasource for a
networked instance of Derby.  

As an example, I have a small container-managed JPA entity accessed through
a trivial EJB3 local interface, using annotations, from Eclipse 3.4 with the
Geronimo 2.1 WTP adapter; I can not get it to load properly.  (I can get a
simple EAR with an EJB3 interface to load.)  I am pretty sure the problem is
that I am not providing the "proper" set of jta and non-jta datasource
references.

I am not using maven or ant at this point -- I am just trying to get this
running inside the Eclipse IDE.

This has been discussed previously by David Jencks and others, but I could
not figure out how to create a Tx/NoTx datasource using the Derby network
client using a database and username of my own choosing; guidance from those
who have a better familiarity with this would be appreciated.  

I'd also like to take a stab at updating the online documentation and/or
tutorials to make this clearer; but don't know who to talk with to
coordinate a contribution (once I figure this out).



-- 
View this message in context: http://www.nabble.com/Re-creating-SampleTxDatasource-SampleNoTxDatasource-by-hand...-tp20371530s134p20371530.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message