Aries/OpenJPA strange error - A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName?

2011-11-21 Thread Matt Madhavan
Hello, I'm using Apache Aries 0.4 (from IBM WAS) and OpenJPA 2.1.1-SNAPSHOT also from IBM. I have a data source defined in WAS: Jndi Name : *jdbc/dupcheckcts* * * I have my persistence.xml as follows: http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

RE: Aries/OpenJPA strange error - A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName?

2011-11-22 Thread Timothy Ward
ion (http://www.manning.com/cummins) --- Date: Mon, 21 Nov 2011 15:00:43 -0600 Subject: Aries/OpenJPA strange error - A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName? From: mattmadha...@gmail.com To: user@aries.apache.org Hello,I'm usin

Re: Aries/OpenJPA strange error - A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName?

2011-11-22 Thread Holly Cummins
Hi Matt, The error message you're seeing is from OpenJPA. It produces the same error message whether there's no datasource defined or the datasource is defined but can't be looked up. However, in this case I notice you only have a jta datsource defined. It couldn't hurt to also define a .

Re: Aries/OpenJPA strange error - A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName?

2011-11-22 Thread Matt Madhavan
Hello Everyone. Thanks for the reply. I found the issue and solved it. Actually this DAO code was inherited legacy code and the developer was creating the EntityManagerFactory and EntityManager from the code as follows: *{EntityManagerFactory factory = Persistence.createEntityManagerFactory("DuCk_