If you have any trouble with this example, post a message on JOnAS users mailing list: <jonas@objectweb.org>