Can't you just create a FileOutputStream and write the data to that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069117#4069117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069117