geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vjay <>
Subject OpenJPA with JTA datasouce problem on Geronimo
Date Wed, 22 Jun 2011 17:11:02 GMT

I'm using Geronimo 2.2.1 and trying to setup just a tiny simple OpenJPA
project with JTA support (container managed datasource)

this is my persistent.xml 

<?xml version="1.0" encoding="UTF-8"?>
 <persistence version="1.0" xmlns=""
	<persistence-unit name="myservice" transaction-type="JTA">	

I've tried to figure this out for a week but still struggling on the
following error :

<openjpa-1.2.2-r422266:898935 fatal user error>
org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or
DataSource class name must be specified in the ConnectionDriverName




I don't know why it still asking for ConnectionDriverName property since I
attempt to put it for JTA control. Or if the datasource was incorrectly
spelled the error message would be something else eg. "can't find datasource
defined" or something more relevant than this..

Anyone please help...

View this message in context:
Sent from the Users mailing list archive at

View raw message