The work around for the bug worked.... To all who are interested here was how i assigned an int constant Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958292#3958292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958292