I haven't tried an example.
1)Can you try to place the Eclipse link jar into "lib" directory?
2) Or you can deploy eclipse link jar first through admin console, "service" -> "Repository"; then, add the module into your dependency list in the deployment plan?
Can you tell the result after you try it?
If I change it it will use Open JPA that is used by default in Geronimo. It
works fine with Open JPA. I just wanted to try EclipseLink as well to make
shure it works just in case I need it in the future.
I have included EclipseLink JPA library in the classpath of the project but
I think the project still cannot find it at runtime hence the exception
"Could not locate the persistence provider class". May be it's very simple
issue but I'm not very experienced programmer and don't know exactly how to
locate EclipseLink jar files properly in the server.
Donald Woods-2 wrote:
> I haven't looked at the example, but see if the persistence.xml includes-
> If it does, either comment out that line or change it to-
> and try again....
> tornike wrote:
>> I was trying to run EclipseLink jpa example on Geronimo and couldn't
>> out how to setup EclipseLink JAR location. I get the persistence
>> "Could not locate PersistenceProvider class:
>> Can anyone help with example on how to set it up?
View this message in context: http://www.nabble.com/EclipseLink-JAR-location-tp25257159s134p25264952.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.