I am having a similar problem. How does jBoss know whether or not I am requesting the local interface or the remote interface on my InitialContext.lookup call? Is there some naming convention to follow or something?
It seems like you are trying to get the local home from outside the vm. Is this correct? If so, you cannot use local home and local interface outside the container vm. Also, the ejb-local-ref tag is used for that component's jndi environment and is not visible outside the component.
You're doing a lookup in global JNDI space.
(java:comp/env is the local space for that bean.)
Thanks wolfc, solved my problem anyway.
how 'bout the JNDI ?