Mike,
Finally able to resolve this and saw this was already answered in this post. We need to specify JVM security policy for this and it worked after that. Will delete all my posts so that guys are not confused when solution was already given.
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community