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

2011-11-22 Thread Timothy Ward
Hi, That's the error Open JPA gives you when the DataSource fails. This is probably because your JNDI lookup is failing. Is there a valid DataSource at jdbc/dupcheckcts ? Regards, Tim Ward --- Apache Aries PMC member Enterprise OSGi advocate Enterprise OSGi in Action

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 =