Rookie mistake.
Remove all jboss jars in the classptah and include jboss client jars, problem solved!
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community