Overriding persistence-unit-name

2009-05-12 Thread Fred59
Hi all, My current work topic is the extensibility with the EJB 3. We use OpenEJB 3.1. In project B, we are trying to use session bean (CatalogueManager) coming from an other project A. To achieve that goal, we must override the persistence unit name defined in the @PersistenceContext located

Re: Overriding persistence-unit-name

2009-05-12 Thread Fred59
why the test is working ? Jean-Louis MONTEIRO wrote: Hi, you're definitely right. An EJB (CatalogueManager) in an ejb-jar (project A) is deployed and bound to JNDI. Fred59 wrote: ejb-jar enterprise-beans session ejb

Re: Problem during deployment with ejb-jar.xml

2008-09-19 Thread Fred59
add an ejb-class tag and I don't get the exception anymore. I still continue my work on that case. Thanks again. Fred David Blevins wrote: On Sep 18, 2008, at 3:21 AM, Fred59 wrote: Hi all, I'm using OpenEJB 3.0. I try to override a persistence context defined in a session. Hereafter

Problem during deployment with ejb-jar.xml

2008-09-18 Thread Fred59
Hi all, I'm using OpenEJB 3.0. I try to override a persistence context defined in a session. Hereafter the ejb-jar.xml content ?xml version=1.0 encoding=UTF-8? ejb-jar xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;