AS7 is different to former versions.
You should use the new ejb-client connections. See https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community