Does that mean you noticed it as well ? -M
On Fri, Oct 29, 2010 at 4:12 AM, David Blevins <david.blev...@visi.com> wrote: > > On Oct 27, 2010, at 10:34 AM, David Blevins wrote: > >> >> On Oct 27, 2010, at 8:02 AM, Matthias Wessendorf wrote: >> >>> Hi, >>> >>> I am seeing this error, when running OpenEJB 3.1.3 + OpenWebBeans + >>> OpenJPA (2.x and 1.x) in Tomcat 6.x: >>> >>> org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or >>> DataSource class name must be specified in the ConnectionDriverName >>> property. >>> >>> >>> the persistence.xml is like: >>> <persistence-unit name="foobar" > >>> >>> <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> >>> <jta-data-source>java:openejb/Resource/My DataSource</jta-data-source> >>> <non-jta-data-source>java:openejb/Resource/My >>> UnmanagedDataSource</non-jta-data-source> >>> >>> <class>net.wessendorf.User</class> >>> >>> <properties> >>> <property name="openjpa.Log" value="DefaultLevel=TRACE" /> >>> <property name="openjpa.jdbc.SynchronizeMappings" >>> value="buildSchema(ForeignKeys=true)" /> >>> </properties> >>> </persistence-unit> >>> </persistence> >>> >>> >>> With an older version, like OpenEJB 3.1.2 I was never seeing that >>> error above.. and no, I never specified the >>> ConnectionDriverName with the above (non-)jta-data-source settings. >>> >>> Am I missing some configuration, or is there an issue regarding this ? >> >> Not familiar with that error. If you can post some log output and the >> stacktrace that might shed some light. > > FYI, this one is on the radar for 3.1.4. Hopefully we can get to the bottom > of it before we roll. > > -David > > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf