No Persistence provider for EntityManager named default [message #1008590] |
Wed, 13 February 2013 03:45  |
Eclipse User |
|
|
|
Hy all,
during the migration of Oracle UIM 7.1.2 based on Kodo to 7.2 based on Eclipse link we get the error below in the code of Web Service in Java Language.
We also change the JPa provider from KODO to EclipseLink via WebLogic, but the error is the same.
Let me know if i have to share more details.
Thanks in advance
####<Feb 8, 2013 12:01:51 PM CET> <Notice> <Stdout> <CRPAS04> <UIM_MS1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <89a4783586755966:-ad58bad:13cb975a5f0:-8000-0000000000000171> <1360321311797> <BEA-000000> <2013-02-08 12:01:51,780 ERROR [<anonymous>] [ExtensionRuleMediator] [INV-180011] Failed to retrieve the extension point: No Persistence provider for EntityManager named default: The following providers:
org.eclipse.persistence.jpa.PersistenceProvider
kodo.persistence.PersistenceProviderImpl
org.apache.openjpa.persistence.PersistenceProviderImpl
Returned null to createEntityManagerFactory.
.
javax.persistence.PersistenceException: No Persistence provider for EntityManager named default: The following providers:
org.eclipse.persistence.jpa.PersistenceProvider
kodo.persistence.PersistenceProviderImpl
org.apache.openjpa.persistence.PersistenceProviderImpl
Returned null to createEntityManagerFactory.
..
..
####<Feb 8, 2013 12:01:52 PM CET> <Notice> <Stdout> <CRPAS04> <UIM_MS1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <89a4783586755966:-ad58bad:13cb975a5f0:-8000-000000000000017d> <1360321312226> <BEA-000000> <2013-02-08 12:01:52,226 ERROR [<anonymous>] [ServiceAdapter] Exception raised while commiting. Error: Unexpected exception in beforeCompletion: sync=org.eclipse.persistence.transaction.JTASynchronizationListener@56561df3
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UIM_USER.SYS_C0013549) violated
|
|
|
|
|
|
Re: No Persistence provider for EntityManager named default [message #1011425 is a reply to message #1010872] |
Tue, 19 February 2013 09:54  |
Eclipse User |
|
|
|
You might want to take the first message to a WebLogic or UIM forum or support, because as I mentioned, it is showing up only as a notice not an error and there is no indication why it is occuring. Unless you are deploying a persistence unit named 'default', and are unable to deploy your application and use the persistence unit.
The second error is similar to the second error in the first post. This time, instead of a database constraint causing the transaction to fail, it is an optimistic lock exception. It shows that a persistence unit is deployed and working. The problem is an entity within the transaction is stale, and the exception is thrown to prevent overwriting with stale data. You need the full exception stack trace and to find out what the application is doing within the transaction.
Best Regards,
Chris
|
|
|
Powered by
FUDForum. Page generated in 0.03416 seconds