Try:
Object ref = jndiContext.lookup("testejb301-0.1/UsersServiceBean/remote");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970106#3970106
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970106