Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » No persistence provider
No persistence provider [message #805950] Fri, 24 February 2012 10:30 Go to next message
Kapusta Missing name is currently offline Kapusta Missing nameFriend
Messages: 48
Registered: March 2011

We use an eclipse link in order to manage our data base in using PostreSQL on apache server and derby for tests.
All test have passed but when we deploy in apache TomCat 6, we get an execption : "No persistence provider for EntityManager named sadocjpa"
We have :

src/main/wepapp/META-INF/persistence xml :
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0"
        xmlns="" xmlns:xsi=""
        xsi:schemaLocation=" ">
        <persistence-unit name="sadocjpa">

                        <property name="eclipselink.ddl-generation" value="create-tables" />
                        <property name="eclipselink.ddl-generation.output-mode"
                                value="database" />
                        <property name="eclipselink.weaving" value="static" />
                        <property name="eclipselink.logging.level" value="WARNING" />

All dependancies were checked and we don't understand why we get this exception...
What did we forget ?

In advance thanks !

Re: No persistence provider [message #806725 is a reply to message #805950] Sat, 25 February 2012 11:14 Go to previous message
Sunil Varma is currently offline Sunil VarmaFriend
Messages: 5
Registered: February 2012
Junior Member
The message indicates that container is unable to find the Persistance provider specified. Is the eclipselink provider in the appropriate path for the container to load it?
Previous Topic:Bidirectional relationship with orphan removal: NULL-Update to a NOT NULL Column
Next Topic:Auditar entidad
Goto Forum:

Current Time: Tue Jun 02 14:28:31 GMT 2020

Powered by FUDForum. Page generated in 0.01436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top