DataSourceProvider does not delete the temporary files it creates in JBoss EAP 6

Solution Verified - Updated -

Issue

The DataSourceProvider for JAX-RS resources creates a temporary file named resteasy-provider-datasource ... .tmp when reading more then 4096 bytes. However, it does not delete the created temporary file itself nor does it provide a facility to do so. This results in a resource leak!

Environment

  • Red Hat Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content