EclipseLink-28022 When Running Application With Resource-Local Entity Manager

(Doc ID 1066980.1)

Last updated on SEPTEMBER 30, 2010

Applies to:

Oracle TopLink - Version: and later   [Release: Oracle11g and later ]
Information in this document applies to any platform.


The following error occurs when running an application with EclipseLink as JPA provider and a resource-local entity manager (with  persistence unit configured with transaction-type="RESOURCE_LOCAL" in a standalone application or on a container not compliant to Java EE >= 5):

Internal Exception: javax.persistence.PersistenceException: Exception [EclipseLink-28022] (Eclipse Persistence Services - 1.2.0.v20091016-r5565): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Value [true] for the property [eclipselink.weaving] is incorrect when global instrumentation is null, value should either be null or false.
at org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(
at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(
at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(
at javax.persistence.Persistence.createEntityManagerFactory(
at javax.persistence.Persistence.createEntityManagerFactory(
at project1.TestCase.performTest(
at project1.TestCase.main(


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms