I don't think it's real clear from your code what you're trying to do. You might want to post more code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069222#4069222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069222