tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: OpenEJB - Missing required persistence.xml
Date Wed, 13 Feb 2008 19:25:32 GMT
On Feb 13, 2008 6:26 AM,  <Karsten.Ohme@t-systems.com> wrote:

> - Unexpected exception from beforeCompletion; transaction will roll back
> <openjpa-1.0.1-r420667:592145 nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
null
>         at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.getConnection(AbstractJDBCSeq.java:162)
>         at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:366)
>         at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:266)
>         at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:60)

I guess it's because of your invalid persistence.xml setting for
<jta-data-source>java:/DefaultDS</jta-data-source>. Did you change it?
I think it should be <jta-data-source>My DataSource</jta-data-source>.

Jacek


-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message