You need to post a better explanation of what you are trying to do with more code. On the face of it, what you post should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040522#4040522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040522