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

StandardHostValve does not restore TCCL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • TBD EAP 5
    • EAP_EWP 5.1.2
    • Web
    • None
    • Release Notes
    • NEW

      org.apache.catalina.core.StandardHostValve sets the TCCL (thread contextClassLoader) when making calls to a .war application.

      After invoking, it should restore the previous value of the TCCL, but instead it sets it (hard-coded) to StandardHostValve's classloader.

      This affects any valves that run before StandardHostValve.
      The first time they run on any new thread, their TCCL will be JBoss's boot class loader. After StandardHostValve runs on the thread, subsequent calls will have the TCCL set to StandardHostValve's class loader.

            rmaucher Remy Maucherat
            rhn-support-dereed Dennis Reed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: