Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12791

CXF-8118 - CXF LoggingInInterceptor, CachedWriter leaks

XMLWordPrintable

    • Hide

      Configure LoggingInInterceptor as In Interceptor
      Send a soap message (tested soap over jms) with an attachment bigger than 64kb.

      Take an heap dump and verify that the static list CachedWriter.streamList still contains a CachedWriter instance that keep a lock on a file in the tmp folder.

      Show
      Configure LoggingInInterceptor as In Interceptor Send a soap message (tested soap over jms) with an attachment bigger than 64kb. Take an heap dump and verify that the static list CachedWriter.streamList still contains a CachedWriter instance that keep a lock on a file in the tmp folder.

      The LoggingInInterceptor use an instance of CachedWriter but never close it causing a leak in the static list CachedWriter.streamList.

      I know that LoggingInInterceptor has been deprecated but it still available in CXF.

      https://issues.apache.org/jira/browse/CXF-8118

              rhn-support-ivassile Ilia Vassilev
              rhn-support-ivassile Ilia Vassilev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: