Hi

When a response payload is greater than the default 64k it will be cached
to disk in a temp file in systems temp directory.

Faced an issue for the above where logging was switched on via the cxf:bus
spring config and our environments java.io.tmp dir had no space allocated
to it due to locked down environment setup.

The CXF code actually hangs in the *org.apache.cxf.helpers.FileUtils* class
in the *public static File createTempFile(String prefix, String suffix,
File parentDir,*
*                               boolean deleteOnExit) throws
IOException *method
where it calls *getDefaultTempDir()*

The thread itself just hangs and the client receives a truncated response
from the REST service.  With logging switched off or the
*org.apache.cxf.io.CachedOutputStream.OutputDirectory* property overridden
then everything works fine..

-- 
Regards

Graeme Dougal

Tiderian Consulting

Office  :+44(191) 215 16 50
Mobile : +44(0) 7860 950 815

Email  : [email protected]
Web    : www.tiderian.com

Tiderian Consulting is the trading name of Tiderian Consulting Ltd
registered in England No. 6024579

Registered Office Address : 31 Cloverdale Gardens, High Heaton, Newcastle
Upon Tyne, NE7 7QJ

Reply via email to