[jboss-user] [EJB 3.0] - Calling EJB3 bean from another host, fail

2008-06-26 Thread armen2010
Hello, In one computer ejb3 appl with web client working fine but when I put client on the another host I got following errors -> 5:58:55,453 ERROR [STDERR] javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table] 15:58:55,453 ERROR [STDERR

[jboss-user] [EJB 3.0] - JPQL query tool not running

2008-06-19 Thread armen2010
https://jpaquerytool.dev.java.net/ Hello people, I want to use console for JPQL I found https://jpaquerytool.dev.java.net/how-to.html and install it, but then I added my-app.jar and persistence unit name, after run I have one warning - "could not load persistance unit check your database classpath

[jboss-user] [EJB 3.0] - Re: Why was this

2008-06-18 Thread armen2010
I have the same problem, this is my method public WnUser findUser(WnUser email) { return (WnUser) em.createQuery ("SELECT u.email FROM WnUser u WHERE u.email =:email") .setParameter("email", email.getEmail()) .getSingleResult(); } View the orig