Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property.

 
madhup narain
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had been using JPA in the same application and had configured the persistence.xml to pick up the data source from the admin console.
Suddenly now i see an error in the logs that says :


<openjpa-1.0.1-r420667:592145 fatal user error> org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property.



What i have tried to do -
1. I recreated the datasource from the admin console
2. I deleted and recreated the persistence.xml

Above options have not worked.

3. From admin console my datasource tested successfully.



Contents of my Persistence.xml are as follows :



Does someone have any ideas as to what might have happened ? Any help will be appreciated.
 
Joao Bosco Jares
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I´m with the same problem, any one can help us?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!