portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r995550 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/invoker/ConcurrentContainerRequestResponseUnwrapper.java
Date Thu, 09 Sep 2010 19:26:03 GMT
Author: woonsan
Date: Thu Sep  9 19:26:03 2010
New Revision: 995550

URL: http://svn.apache.org/viewvc?rev=995550&view=rev
Log:
Sets the classloader properly. It seems working properly now even with tomcat.
TODO: To test in other servlet container platform with parallel rendering option.

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/invoker/ConcurrentContainerRequestResponseUnwrapper.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/invoker/ConcurrentContainerRequestResponseUnwrapper.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/invoker/ConcurrentContainerRequestResponseUnwrapper.java?rev=995550&r1=995549&r2=995550&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/invoker/ConcurrentContainerRequestResponseUnwrapper.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/invoker/ConcurrentContainerRequestResponseUnwrapper.java
Thu Sep  9 19:26:03 2010
@@ -125,6 +125,7 @@ public class ConcurrentContainerRequestR
             }
             
             enhancer = new Enhancer();
+            enhancer.setClassLoader(getClass().getClassLoader());
             enhancer.setSuperclass(proxySuperClass);
             enhancer.setStrategy(new UndeclaredThrowableStrategy(UndeclaredThrowableException.class));
             enhancer.setInterceptDuringConstruction(false);



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


Mime
View raw message