Re: Load time dependency ordering problem

2008-02-15 Thread David Blevins
On Feb 11, 2008, at 6:56 AM, Jack Cox wrote: David, Thanks for the response. Using the application.xml to group the class directories did not have the desired effect. The loader still sees them as separate 'jars' and appear to be classloaded separately. In their 'in-container' deployment

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread David Blevins
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 an no

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread David Blevins
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.xm

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread Jacek Laskowski
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 an non-jta-data-source, or b) > the non-jta-data-source

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread David Blevins
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 3.0

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread Jacek Laskowski
On Fri, Feb 15, 2008 at 9:36 AM, <[EMAIL PROTECTED]> wrote: > > > xmlns="http://java.sun.com/xml/ns/persistence"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://java.sun.com/xml/ns/persistence > http://java.sun.com/xml/ns/persist

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread Karsten.Ohme
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 erro

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread Karsten.Ohme
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: org.apache.openjpa.persistence.PersistenceException: Auto-commit can not