Hi people,
I have a problem with a wicked persistence unit. My Entreprise Application
in Netbeans 6.1 have an EJB and a App Client. I defined a persistence unit
to connect with a derby database in the EJB module. My problem is that I try
to execute from my Entreprise Application it not run, but if I execute from
the Application client, I have not problems with the persistence unit.
Netbeans tell me that "Exception in thread "AWT-EventQueue-0"
javax.persistence.PersistenceException: No Persistence provider for
EntityManager named SenecaPU". (Persistence provider named SenecaPU exist!)
I defined de persistence unit with transaction-type="RESOURCE_LOCAL"
parameter, but if I change this parameter with "JTA" I have not way to run
my program.
Thank You every one.
Daniel Benítez.