I used the demo3.jsp code and made minimal changes, now everything works ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134215#4134215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134215