diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-11-10 20:18:35 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-11-10 20:18:35 +0000 |
commit | 62e7ebe8f099a7c7093f6f9e27ec9302e3996971 (patch) | |
tree | ca9493b3729ae501358d886778a7c88f8724d819 /sca-java-1.x/branches/sca-java-1.6.1/modules/host-webapp/src/main/java/org/apache | |
parent | 7634f603f4fe1ee00645cf214904ed239b1a24d7 (diff) |
Merge r1033012 TUSCANY-3770: Remove thread message context on completion of each request
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1033692 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/modules/host-webapp/src/main/java/org/apache')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java b/sca-java-1.x/branches/sca-java-1.6.1/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java index 27dd89d31b..81ae425de5 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java +++ b/sca-java-1.x/branches/sca-java-1.6.1/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java @@ -330,8 +330,9 @@ public class WebAppServletHost implements ServletHost { instance = null; servlets.clear(); LogFactory.release(this.getClass().getClassLoader()); - Introspector.flushCaches(); - ThreadMessageContext.removeMessageContext(); + Introspector.flushCaches(); + // TUSCANY-3770: thread message context now removed implicitly + //ThreadMessageContext.removeMessageContext(); } public String getContextPath() { |