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;
InitialContext ctx = new InitialContext(); cal = (RegisterUser) ctx.lookup("RubisBeanEAR/RegisterUserBean/remote");
10:50:54,421 ERROR [STDERR] javax.naming.NameNotFoundException: remote not bound 10:50:54,421 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 10:50:54,421 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 10:50:54,421 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 10:50:54,421 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:296) 10:50:54,421 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:270) ...