tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r801832 - /tomcat/trunk/java/org/apache/catalina/connector/AsyncContextImpl.java
Date Thu, 06 Aug 2009 22:59:25 GMT
Author: fhanik
Date: Thu Aug  6 22:59:25 2009
New Revision: 801832

URL: http://svn.apache.org/viewvc?rev=801832&view=rev
Log:
Need to figure out how to set the context class loader here

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/AsyncContextImpl.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/AsyncContextImpl.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/AsyncContextImpl.java?rev=801832&r1=801831&r2=801832&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/AsyncContextImpl.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/AsyncContextImpl.java Thu Aug  6 22:59:25
2009
@@ -160,9 +160,12 @@
         if (state.compareAndSet(AsyncState.STARTED, AsyncState.DISPATCHING) ||
             state.compareAndSet(AsyncState.DISPATCHED, AsyncState.DISPATCHING)) {
             // TODO SERVLET3 - async
+            final ServletContext sctx = getServletRequest().getServletContext();
             Runnable r = new Runnable() {
                 public void run() {
+                    //TODO SERVLET3 - async - set context class loader when running the task.
                     try {
+                        
                         run.run();
                     }catch (Exception x) {
                         log.error("Unable to run async task.",x);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message