url modified to localhost and tested with jboss