I wrote a Session stateless bean, deploy to 'all' folder, and add lines below into EJB.XML.
<configuration-name>Standard Stateless SessionBean</configuration-name>
<invoker-bindings>
<invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name>
<invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>
</invoker-bindings>
in client, I use .
NameService=corbaloc::127.0.0.1:3528/JBoss/Naming/root
but it still show me ConnectionException
Did your EJB was successuflly deployed in JBoss? Did JBoss print out the IOR of the EJB-Home and EJB-IR object?
Do you use different <ejb-name> or <jndi-name> names in your ejb-jar.xml or jboss.xml file?