Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6523

Fix Commons Logging to Allow for System Property Configuration of use_tccl Behavior

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 4.3.0.GA_CP10
    • 4.3.0.GA_CP07, 4.3.0.GA_CP08, 4.3.0.GA_CP09
    • Other
    • None
    • Hide
      <classname>use_tccl</classname> (Thread Context Class Loader) behavior was originally added to Commons Logging by appending <parameter>use_tccl=false|true</parameter> to the <filename>commons-logging.properties</filename> file. This configuration option was problematic for certain use cases where other <filename>commons-logging.properties</filename> files were present. <classname>use_tccl</classname> is now implemented using the system property <property>org.apache.commons.logging.use_tccl</property>. <classname>use_tccl</classname> perpetuates the original default value (true).
      Show
      <classname>use_tccl</classname> (Thread Context Class Loader) behavior was originally added to Commons Logging by appending <parameter>use_tccl=false|true</parameter> to the <filename>commons-logging.properties</filename> file. This configuration option was problematic for certain use cases where other <filename>commons-logging.properties</filename> files were present. <classname>use_tccl</classname> is now implemented using the system property <property>org.apache.commons.logging.use_tccl</property>. <classname>use_tccl</classname> perpetuates the original default value (true).
    • Documented as Resolved Issue
    • ON_QA

    Description

      As a part of JBPAPP-2298, use_tccl behavior was added. It was configured by adding commons-logging.properties containing "use_tccl=false|true". This configuration option was problematic for certain use cases where other commons-logging.properties files were in use. This patch adds the ability to configure the same behavior via system property org.apache.commons.logging.use_tccl. The default value is still true, just like with JBPAPP-2298.

      Attachments

        Issue Links

          Activity

            People

              mbenitez@redhat.com Martha Benitez
              rhn-support-jawilson Jimmy Wilson
              Jared Morgan Jared Morgan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: