The same code is working in weblogic in case of jboss it is not working I have given the time also u can see the code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958431#3958431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958431