You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ognjen Blagojevic <og...@gmail.com> on 2011/12/20 14:27:46 UTC

[solved] Re: MTOM not caching attachments with POJO web service (OutOfMemoryError as a result)

On 20.12.2011 13:14, Ognjen Blagojevic wrote:
> <parameter name="cacheAttachments">true</parameter>
> <parameter name="attachmentDIR">d:\__AXIS2_MTOM_TEMP2</parameter>
> <parameter name="sizeThreshold">4000</parameter>

Colleage just found what was the problem. Those parameters should go to 
axis2.xml (as described in the docs) and not to services.xml (as I 
wrongly assumed). D'oh!

Thank you, Anja.

-Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org