ok, sorry, 

persistence.xml:

<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>
    <exclude-unlisted-classes />
    <jta-data-source>DefaultDS</jta-data-source>
    <non-jta-data-source>DefaultNoTxDS</non-jta-data-source> 
    <properties>
      <property name="openjpa.jdbc.DBDictionary" value="postgres"/>
      <property name="openjpa.jdbc.SynchronizeMappings" value="false"/>
    </properties>
  </persistence-unit>
</persistence>

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 :(

thanks,

mario


Jacek Laskowski wrote:
> 
> On Jan 10, 2008 5:02 PM, the666pack <[EMAIL PROTECTED]> wrote:
> 
>> so i set up the second datasource as recommended and the pool is also
>> running according to startup info:
>>
>>      [exec]     RAR: console.dbpool/DefaultDS/1.0/rar
>>      [exec]     RAR: console.dbpool/DefaultNoTxDS/1.0/rar
>>
>> unfortunately i get an error at deploy time now:
>>
>>      [exec] 16:51:41,504 ERROR [DirectoryHotDeployer] Unable to deploy:
>> Unable to resolve reference "NonJtaDataSourceWrapper" in gbean
> 
> Show the plan and persistence.xml. It becomes much easier to suggest a
> solution.
> 
> Jacek
> 
> -- 
> Jacek Laskowski
> http://www.JacekLaskowski.pl
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Geronimo-2.0-openejb-postgresql-tp14710209s134p14741179.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to