You'll have to post the entire exception stacktrace you are seeing. And what client jar(s) do you have on your classpath?
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community