I have attached the sample project on
http://issues.apache.org/jira/browse/OPENEJB-755.
Thanks,
Karsten
-Ursprüngliche Nachricht-
Von: David Blevins [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 16. Februar 2008 22:38
An: users@openejb.apache.org
Betreff: Re: OpenEJB - Missing required
-Ursprüngliche Nachricht-
Von: Karan Malhi [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 18. Februar 2008 15:02
An: users@openejb.apache.org
Betreff: Re: OpenEJB - Missing required persistence.xml
Did you try by adding a jta-data-source also in persistence.xml ?
On Feb 18, 2008 4:57 AM, [EMAIL
On Feb 18, 2008, at 11:26 AM, David Blevins wrote:
- Added a way for Hibernate to get the transaction manager from
openejb. There might be another way of doing this other than the
persistence.xml. I grabbed the hibernate source and am looking for
a better way.
Sumbitted a patch to
David Blevins schrieb:
On Feb 16, 2008, at 1:38 PM, David Blevins wrote:
On Feb 16, 2008, at 1:22 PM, Karsten Ohme wrote:
On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote:
On Feb 15, 2008 2:37 PM, David Blevins [EMAIL PROTECTED] wrote:
The Auto-commit error usually means is that
On Fri, Feb 15, 2008 at 9:36 AM, [EMAIL PROTECTED] wrote:
?xml version=1.0 encoding=UTF-8?
persistence version=1.0
xmlns=http://java.sun.com/xml/ns/persistence;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote:
On Feb 15, 2008 2:37 PM, David Blevins [EMAIL PROTECTED] wrote:
The Auto-commit error usually means is that either a) only the jta-
data-source is configured in your persistence.xml so OpenJPA
incorrectly attempts to use it also as
On Feb 16, 2008, at 1:22 PM, Karsten Ohme wrote:
On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote:
On Feb 15, 2008 2:37 PM, David Blevins [EMAIL PROTECTED] wrote:
The Auto-commit error usually means is that either a) only the
jta-
data-source is configured in your persistence.xml so
Not working, the tables are not created. Now I get this:
Auto-commit can not be set while enrolled in a transaction
javax.ejb.EJBException: The bean encountered a non-application exception.;
nested exception is:
openjpa-1.0.1-r420667:592145 nonfatal general error
Hi,
well it works now. Because I have changed the persistence provider to
Hibernate. The problem now is that entities are not persisted. persist() simply
does nothing. But no error is shown.
The persistence.xml is as follows. I have also a full log of the whole
Hibernate. I cannot find an
On Fri, Feb 15, 2008 at 9:36 AM, [EMAIL PROTECTED] wrote:
?xml version=1.0 encoding=UTF-8?
persistence version=1.0
xmlns=http://java.sun.com/xml/ns/persistence;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
On Feb 15, 2008, at 9:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi,
well it works now. Because I have changed the persistence provider
to Hibernate. The problem now is that entities are not persisted.
persist() simply does nothing. But no error is shown.
The persistence.xml
On Feb 15, 2008, at 4:03 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Not working, the tables are not created. Now I get this:
Auto-commit can not be set while enrolled in a transaction
I'm very interested in how you got this error so I can fix any related
checks we have. In
Thanks a lot again, I have now made one errors progress:
Now the problem seems to be that the entities in the database are not
automatically created. Is this possible or do I have to do it on my own?
Thanks,
Karsten
javax.ejb.EJBException: The bean encountered a non-application exception.;
On Feb 14, 2008, at 6:29 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Thanks a lot again, I have now made one errors progress:
Now the problem seems to be that the entities in the database are
not automatically created. Is this possible or do I have to do it on
my own?
Thanks,
was different; the tables in the database were not created.
Thanks,
Karsten
-Ursprüngliche Nachricht-
Von: David Blevins [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 13. Februar 2008 00:54
An: users@openejb.apache.org
Betreff: Re: OpenEJB - Missing required persistence.xml
It seems like
On Feb 13, 2008 6:26 AM, [EMAIL PROTECTED] 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
On Feb 13, 2008, at 6:26 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I get:
Apache OpenEJB 3.0-beta-2build: 20080131-03:38
http://openejb.apache.org/
- openejb.home = C:\workspace\TestFacade\target
- openejb.base = C:\workspace\TestFacade\target
- Configuring Service(id=Default
It seems like what's happening is eclipse isn't configured to copy in
the src/*/resources files into the related build output directories.
To see if I could replicate the issue, I grabbed our injection-of-
entitymanager example from the examples zip and generated an eclipse
project for it
On Feb 11, 2008 10:34 AM, [EMAIL PROTECTED] wrote:
- FAIL ... PatternManagementDaoImpl:Missing required persistence.xml
for @PersistenceContext ref em to unit pattern-managementPu
What's wrong? It is there. And where should it be placed? In META-INF
like usually? It seems that it is
Hi,
I'm experimenting for one day with OpenEJB 3.0-beta-2, but I'm stuck. I
have tried different approaches to test EJBs, ejb3unit, JBoss
embeddable, but OpenEJB seems to be the best, although it also does not
work for me.
I always get a
- FAIL ... PatternManagementDaoImpl:Missing required
20 matches
Mail list logo