The code runs in an EJB which is deployed on a JBoss server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128489#4128489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128489