Thanks Peter. I tested my code on JBoss 5.0.0GA and it worked! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194716#4194716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194716