Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17618

[GSS](7.2.z) CXF-8118 - CXF LoggingInInterceptor, CachedWriter leaks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.2.6.CR1, 7.2.6.GA
    • 7.2.0.GA
    • Web Services
    • None
    • -
    • 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.

              rhn-support-ivassile Ilia Vassilev
              rhn-support-agagliar Antonio Gagliardi
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: