[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - If I put @PersistenceContext(unitName=

2006-08-09 Thread Renegade_xx
Hi! I have a simple question. I have an EJB3.0 Session bean (RegisterUserBean). If I try to configure an EntityManager in a following way: | @PersistenceContext(unitName="rubis") | protected EntityManager em; | I can't lookup with the following: | InitialContext ctx = new Initia

[jboss-user] [Installation, Configuration & Deployment] - javax.naming.NameNotFoundException: remote not bound

2006-08-04 Thread Renegade_xx
Hi! I have a problem inconection with this error message. I'm new in ejb3, and i've desided that i try to make the RUBiS (http://rubis.objectweb.org) project with enterprise beans in ejb3. I have the following problem: If there is the @PersistenceContext(unitName="rubis") annotation in the Bro