CXF does not remove temporary files and kept file handlers open
Issue
- When the message attachment exceeds 64kb, CXF writes it as a temporary file but never deletes it.
- When the is system running on Windows, temporary files are locked and cannot be deleted.
- When
LoggingInInterceptor
is enabled and CXF receive a message with an attachment greater than 64k a file handlers leak takes place.
Environment
- Red Hat Enterprise Application Platform (EAP) 7.2
- CXF 3.2.5.redhat-00001
LoggingInInterceptor
is enabled- message attachments size exceeds the
org.apache.cxf.io.CachedWriter.Threshold
(64kb by default)
- CXF 3.2.5.redhat-00001
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.