There might be a nest exception that would point to why creation of the
emf failed.
Amorous wrote:
> Guys,
>
> Environment Details
>
> Netbeans 6.5
> Glassfish V2 ur2
> Toplink
> Oracle thin JDBC driver
> JAVA EE application
>
> I am getting the following error:
>
> root cause
>
> javax.persistence.PersistenceException: No Persistence provider for
> EntityManager named datamartAdmin-ejbPU: The following providers:
> oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
> oracle.toplink.essentials.PersistenceProvider
> Returned null to createEntityManagerFactory.
>
> What am I missing...please suggest...
>
> -Amor
>