I am using FileInputStream inside an EJB 3 session bean. It works perfectly. What error message do you get? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099417#4099417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099417