openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbedoll <>
Subject Geronimo (WAS CE)/Oracle OpenJPA configuration problem
Date Wed, 10 Feb 2010 16:20:13 GMT

I have created multiple persistence units/data sources in the

transaction mode="local" : 

transaction mode="managed" 

transaction mode="local" : 

transaction mode="local" : 

I configured Database Pools for each one with the same name and they connect
ok using the Geronimo (WAS CE) Admin Console.

I added the following to the deployment plan of the EAR. Note the artifactId
I got from the JNDI viewer:


>From JNDI viewer:

The EAR deploys OK but I get an Exception that the URL is "null" when a JPA
call is made from the EAR.  My Database pools use the TranQL XA Resource
Adapter for Oracle following this pattern and test ok from the console:
             Database name: <db name>
•           User Name: <user name>
•	Password: <user password>
•	Server Name: <host name>
•	Driver Type: thin
•	Description: <text>
•	Login Timeout: default
•	Port Number: 1521
•	Service Name: <db name>
•	Data Source Name:oracle.jdbc.xa.client.OracleXADataSource
•	TNS Entry Name: 
o	(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(Host =kpnatsp6)(Port =
1521))(CONNECT_DATA = (SID = <db name>)))
•	Max Statements: default
•	Network Protocol: TCP
•	Pool Size (min and Max): default 
•	Blocking Timeout: default 
•	Idle Timeout: default 
Should the TranQL XA Resource Adapter for Oracle be used only for JPA
"managed" persistence units and
TranQL Generic JDBC Resource Adapter use for "local" persistence units ?

I will try this change but some helpfull pointers will be appreciated ...
View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message