According to 'ClassNotFoundException', I think you've forget to place'jbossall-client.jar' in the classpath of client. Give it a try.By the way, why don't you pass rmi-registry port number? e.g. 1099 :)