CXF fills up /tmp partition with SOAP attachments
Issue
I have a JAX-WS endpoint that regularly receives MTOM attachments that are greater than 100MB. As expected, CXF writes these attachments to the /tmp folder to reduce the JVM memory/heap usage during runtime.
The problem is that CXF often does not clean up the attachment files from the /tmp directory. I see lots of files with names like cxf-tmp-250564, where the number at the end is random.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.1.x
- 5.2
- 6.x
- JBossWS-CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
