portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r351868 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml
Date Sat, 03 Dec 2005 01:20:11 GMT
Author: taylor
Date: Fri Dec  2 17:20:08 2005
New Revision: 351868

URL: http://svn.apache.org/viewcvs?rev=351868&view=rev
Log:
remove object pooling from servlet invoker implementations
this approach was causing 2 problems:
1. with more than 100 connections, it would effectively bottleneck the portal
   queueing up requests 
2. commons pooling was not releasing itself on redeploy
   i discovered this while doing some initial tests under WAS
   but ive been informed that it also occurs on tomcat


Modified:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml?rev=351868&r1=351867&r2=351868&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pluto-factories.xml Fri Dec  2 17:20:08
2005
@@ -15,48 +15,13 @@
        <constructor-arg index="0"><value>js_</value></constructor-arg>
   </bean>
   
-  <bean id="LocalPortletInvokerTarget"
+  <bean id="LocalPortletInvoker"
         class="org.apache.jetspeed.container.invoker.LocalPortletInvoker" singleton="false"
   />   
-  
-  <bean id="LocalPortletInvokerTargetSource" 
-    class="org.springframework.aop.target.CommonsPoolTargetSource">
-    <property name="targetBeanName"><value>LocalPortletInvokerTarget</value></property>
-    <property name="maxSize"><value>100</value></property>
-  </bean>
-
-  <bean id="LocalPortletInvoker" 
-    class="org.springframework.aop.framework.ProxyFactoryBean"
-  >
-    <property name="targetSource"><ref local="LocalPortletInvokerTargetSource"/></property>
-    <property name="proxyInterfaces">
-    	<value>org.apache.jetspeed.container.invoker.JetspeedPortletInvoker</value>
-    </property>
-  </bean> 
-  
-      
-  
-  <bean id="ServletPortletInvokerTarget"
+          
+  <bean id="ServletPortletInvoker"
         class="org.apache.jetspeed.container.invoker.ServletPortletInvoker" singleton="false"
-  /> 
-  
-  <bean id="ServletPortletInvokerTargetSource" 
-    class="org.springframework.aop.target.CommonsPoolTargetSource">
-    <property name="targetBeanName"><value>ServletPortletInvokerTarget</value></property>
-    <property name="maxSize"><value>100</value></property>
-  </bean>
-
-  <bean id="ServletPortletInvoker" 
-    class="org.springframework.aop.framework.ProxyFactoryBean"
-  >
-    <property name="targetSource"><ref local="ServletPortletInvokerTargetSource"/></property>
-    <property name="proxyInterfaces">
-    	<value>org.apache.jetspeed.container.invoker.JetspeedPortletInvoker</value>
-    </property>
-  </bean>     
-     
-	
-	
+  /> 	
 	
   <bean id="javax.portlet.ActionRequest"
         class="org.apache.jetspeed.components.factorybeans.PlutoFactoryFactoryBean"



---------------------------------------------------------------------
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