Richard, the testcase you provided is not valid as it goes against the DataSource API, see
http://java.sun.com/javaee/5/docs/api/javax/activation/DataSource.html#ge....
Basically each invocation of DataSouce#getInputStream MUST return a new InputStream object
and the stream must be positioned at the beginning of the data. That's the reason of
the failure.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259138#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...