hello, first thank you, with the help of your article i was able to deploy it and my application is able to create an entity manager.
unfortunately i am stuck with another error now when i want to persist an entity bean to the database: [exec] <1.0.0-r561970-r561970 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: No registered metadata for type "class vt.bean.entity.Director". my persistence.xml now looks like this: <persistence 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/persistence_1_0.xsd" version="1.0"> <persistence-unit name="valhalla" transaction-type="JTA"> <description>videothek</description> <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> <jar-file>videothek.jar</jar-file> <class>vt.bean.entity.Person</class> <class>vt.bean.entity.Actor</class> <class>vt.bean.entity.Director</class> <class>vt.bean.entity.Movie</class> <class>vt.bean.entity.Dvd</class> -> <exclude-unlisted-classes /> <properties> <property name="openjpa.jdbc.DBDictionary" value="postgres"/> <property name="openjpa.jdbc.SynchronizeMappings" value="false"/> </properties> <jta-data-source>jdbc/postgres</jta-data-source> <non-jta-data-source>jdbc/postgres</non-jta-data-source> </persistence-unit> </persistence> according to this in my opinion the "Director" entity bean should be registered. or do i have to mention it in another deployment descriptor too (e.g. openejb-jar.xml?) thanks for your help, mario Jacek Laskowski wrote: > > On Jan 10, 2008 7:59 PM, the666pack <[EMAIL PROTECTED]> wrote: > >> also tried to put the <jta-datasource-element> and the <non-jta..> >> element >> after the properties and also to spare out all properties.. same error >> message :( > > Here's the complete article about running MDB with JPA in JTA mode and > PostgreSQL - > http://www.jaceklaskowski.pl/wiki/Aplikacja_Java_EE_5_z_MDB_z_JPA_w_trybie_JTA_i_PostgreSQL_w_Apache_Geronimo_2. > It's in Polish, but you may want to look at the configuration files > only. > > Jacek > > -- > Jacek Laskowski > http://www.JacekLaskowski.pl > > -- View this message in context: http://www.nabble.com/Geronimo-2.0-openejb-postgresql-tp14710209s134p14784297.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.