Thanks for all your help. The code worked for me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266801#4266801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266801