Just guessing here, but try making the parameter an Integer instead of an int. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033723#4033723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033723