[ 
https://issues.apache.org/jira/browse/TOMEE-3849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Hamilton updated TOMEE-3849:
---------------------------------
    Affects Version/s: 8.0.7

> Unable to configure JPA with EclipseLink in TomEE Plume
> -------------------------------------------------------
>
>                 Key: TOMEE-3849
>                 URL: https://issues.apache.org/jira/browse/TOMEE-3849
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 8.0.7, 8.0.8, 8.0.9, 8.0.10
>            Reporter: Eric Hamilton
>            Priority: Major
>              Labels: JPA, eclipselink, openjpa
>         Attachments: TestWeb.zip
>
>
> Unable to configure persistence.xml with EclipseLink JPA:
> {code:java}
>   <persistence-unit name="TestJPA" transaction-type="RESOURCE_LOCAL">
>     <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
> {code}
>  
> JPA fails to load with error:
> {code:java}
> javax.persistence.PersistenceException: No persistence providers available 
> for "TestJPA" after trying the following discovered implementations: 
> org.apache.openjpa.persistence.PersistenceProviderImpl{code}
>  
> Attached TestWeb application to reproduce issue.  This configuration was 
> working in TomEE Plume 8.0.6, and first noticed failures in TomEE Plume 8.0.8.
>  
> Note:  Removal of the <provider> tag configuration in persistence.xml will 
> not produce an error, although it appears to default to OpenJPA as recorded 
> in the logs:
> {code:java}
> null.openjpa.Runtime OpenJPA dynamically loaded a validation provider.{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to