I just tried your example and it runs without any problem. I do have latest java client instaled on my computer thou. Cant know how it might behave with older clients.