users@glassfish.java.net

ClassNotFoundException: OPENJPA .persistence.PersistenceProviderImpl

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Nov 2007 08:00:05 PST

Hello all of you;

the question is there ...
I have followed this http://blogs.sun.com/GlassFishPersistence/entry/using_apache_openjpa_with_glassfish

So I did as told and
I have put commons*.jar and serp-1.13.1.jar from apache-openjpa-1.0.0-binary to
    glassfish-v2-b58g\domains\domain1\lib\ext
then it doesn't work so I tried to move to
     \glassfish-v2-b58g\domains\domain1\lib\ext
Then to
, glassfish-v2-b58g\lib

but still the same exception.

 (As said in the blog) I DID NOT copied geronimo-*.jar (of course I tried as nothing was working but no help !!)
I'm using latest Glassfish v2 : glassfish-v2-b58g (the one bundled with NetBeans 6 b2)

And my persistence unit is simply this :
  <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
    <jta-data-source>jdbc/sample</jta-data-source>
    <properties>
      <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
       <!-- Enable SQL Logging for OpenJPA -->
           <property name="openjpa.Log" value="DefaultLevel=INFO,SQL=TRACE"/>
    </properties>


Any help is welcomed !!!!!


Could some one give me a hint ???
[Message sent by forum member 'laurent4x' (laurent4x)]

http://forums.java.net/jive/thread.jspa?messageID=244549