Do you use a web-app as client? Is it deployed in a JBoss instance?
Also how your InitialContext looks like (what properties do you set) and how the properties are named?
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community