portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf jetspeed.properties
Date Wed, 07 Jan 2004 22:01:07 GMT
taylor      2004/01/07 14:01:07

  Modified:    portal/src/java/org/apache/jetspeed/aggregator
                        PageAggregator.java
               portal/src/java/org/apache/jetspeed/container/invoker
                        LocalPortletInvoker.java
                        PortletInvokerFactoryImpl.java
                        ServletPortletInvoker.java
               portal/src/webapp/WEB-INF/conf jetspeed.properties
  Added:       portal/src/java/org/apache/jetspeed/container/invoker
                        AbstractPortletInvokerFactory.java
                        LocalPortletInvokerFactory.java
                        ServletPortletInvokerFactory.java
  Log:
  Added object pooling to portlet invokers.
  Refactored Portlet Invokers to have one factory per invoker type
  Still need to release the objects, requiring modifications to Pluto API
  
  Revision  Changes    Path
  1.3       +7 -7      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PageAggregator.java
  
  Index: PageAggregator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PageAggregator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PageAggregator.java	31 Dec 2003 09:46:35 -0000	1.2
  +++ PageAggregator.java	7 Jan 2004 22:01:05 -0000	1.3
  @@ -222,21 +222,20 @@
   
               ContentDispatcher dispatcher = renderer.getDispatcher(context,(strategy==STRATEGY_PARALLEL));
   
  -/*
  +
               // Now synchronously trigger the rendering of the whole page
  -            renderer.renderNow(page.getRootFragment(),context);
  -*/
  +//            renderer.renderNow(page.getRootFragment(),context);
   
               // DEBUG Testing: Use ContentDispatcher to display all children
               // of root fragment
   
               for(Iterator i = page.getRootFragment().getFragments().iterator(); i.hasNext();)
               {
  -                Fragment f = (Fragment)i.next();
  +                Fragment fragment = (Fragment)i.next();
   
  -                if (!"hidden".equals(f.getState()))
  +                if (!"hidden".equals(fragment.getState()))
                   {
  -                    dispatcher.include(f,context.getRequest(),context.getResponse());
  +                    dispatcher.include(fragment, context.getRequest(), context.getResponse());
                   }
               }
           }
  @@ -244,6 +243,7 @@
           {
               log.warn("Access denied RENDER page "+page);
           }
  +        
       }
   
       public boolean checkAccess(RequestContext context, String acl, String action)
  
  
  
  1.2       +1 -4      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvoker.java
  
  Index: LocalPortletInvoker.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvoker.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LocalPortletInvoker.java	30 Dec 2003 06:37:39 -0000	1.1
  +++ LocalPortletInvoker.java	7 Jan 2004 22:01:05 -0000	1.2
  @@ -110,8 +110,6 @@
        */
       public void activate(PortletDefinition portletDefinition, ServletConfig servletConfig)
       {
  -        System.out.println("%%% internal invoker.portletdef = " + portletDefinition);
  -
           this.jetspeedConfig = servletConfig;
           jetspeedContext = servletConfig.getServletContext();
           this.portletDefinition = portletDefinition;
  @@ -194,7 +192,6 @@
           ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();       
    
   
           String portletApplicationName = app.getWebApplicationDefinition().getContextRoot();
  -        System.out.println("%%% local invoker.pa = " + portletApplicationName);
   
           // gather all required data from request and response
           ServletRequest servletRequest = ((javax.servlet.http.HttpServletRequestWrapper)
portletRequest).getRequest();
  
  
  
  1.4       +51 -21    jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/PortletInvokerFactoryImpl.java
  
  Index: PortletInvokerFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/PortletInvokerFactoryImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PortletInvokerFactoryImpl.java	31 Dec 2003 09:46:35 -0000	1.3
  +++ PortletInvokerFactoryImpl.java	7 Jan 2004 22:01:05 -0000	1.4
  @@ -59,6 +59,7 @@
   
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  +
   import org.apache.jetspeed.Jetspeed;
   import org.apache.jetspeed.PortalContext;
   import org.apache.jetspeed.om.common.portlet.MutablePortletApplication;
  @@ -67,8 +68,29 @@
   import org.apache.pluto.invoker.PortletInvoker;
   
   /**
  + * <p>
    * Portlet Invoker Factory creates portlet invokers based on the servlet context.
  - *
  + * This class is part of the contract between Pluto and the Jetspeed Portal as defined
  + * in the interfaces under <code>org.apache.pluto.factory</code>
  + * The Pluto container uses portlet invokers to abstract access to portlets.
  + * An invoker interfaces defines which actions are performed between the portal and container,
  + * namely action, render and optionally load. Portlet invoker factories are implemented
by
  + * the portal implementation. The Pluto container uses pluggable portlet invoker factories
  + * in order to get portlet invokers, and then invoke methods on portlets (render, action,
load). 
  + * </p>
  + * <p>
  + * The Portlet Invoker Factory is a Pluto factory. Pluto defines a basic lifecycle for
Pluto
  + * factory services in the <code>org.apach.pluto.factory.Factory</code> interface
with
  + * standard <code>init</code> and <code>destroy</code> methods.
  + * </p>
  + * <p>
  + * The Jetspeed portlet invoker factory supports two kinds of invokers: local and servlet.
  + * Local portlet invokers call portlets located in the same web applications.
  + * With local invokers, a simple java method invocation is called on the portlet.
  + * Servlet portlet invokers call portlets located in another web application.
  + * With servlet invokers, the servlet request dispatcher is used to call methods on the
portlet. 
  + * </p>
  + * 
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
    * @version $Id$
    */
  @@ -77,38 +99,50 @@
   {
       private final static Log log = LogFactory.getLog(PortletInvokerFactoryImpl.class);
   
  -    public final static String INVOKER_SERVLET    = "factory.invoker.servlet";
  -    public final static String INVOKER_LOCAL    = "factory.invoker.local";
   
  +    /** The servlet configuration for the Jetspeed portal */
       private ServletConfig servletConfig;
  -
  +    
  +    /** factory for creating servlet-based portlet invokers */           
  +    private ServletPortletInvokerFactory servletInvokerFactory;
  +    
  +    /** factory for creating local portlet invokers */
  +    private LocalPortletInvokerFactory localInvokerFactory;
  +               
  +    /* (non-Javadoc)
  +     * @see org.apache.pluto.factory.Factory#init(javax.servlet.ServletConfig, java.util.Map)
  +     */
       public void init(ServletConfig config, Map properties)
       throws Exception
       {
  -        servletConfig = config;
  +        servletConfig = config;        
  +        PortalContext pc = Jetspeed.getContext();
  +        servletInvokerFactory = new ServletPortletInvokerFactory(pc);
  +        localInvokerFactory = new LocalPortletInvokerFactory(pc);                     
          
       }
   
  +    /* (non-Javadoc)
  +     * @see org.apache.pluto.factory.Factory#destroy()
  +     */
       public void destroy()
       throws Exception
       {
       }
   
  +    /* (non-Javadoc)
  +     * @see org.apache.pluto.factory.PortletInvokerFactory#getPortletInvoker(org.apache.pluto.om.portlet.PortletDefinition)
  +     */
       public PortletInvoker getPortletInvoker(PortletDefinition portletDefinition)
       {
  -        PortalContext pc = Jetspeed.getContext();
           JetspeedPortletInvoker invoker = null;
   
           MutablePortletApplication app = (MutablePortletApplication)portletDefinition.getPortletApplicationDefinition();
           if (app.getApplicationType() == MutablePortletApplication.LOCAL)
           {
  -            System.out.println("$$$$$$ LOCAL INVOKIN " + portletDefinition.getName());
  -
  -            // TODO: pooling
  -
  +            // create a local portlet invoker
               try
               {
  -                String className = pc.getConfigurationProperty(INVOKER_LOCAL);
  -                invoker = (JetspeedPortletInvoker)Class.forName(className).newInstance();
  +                invoker = localInvokerFactory.getPortletInvoker();  
                   invoker.activate(portletDefinition, servletConfig);
                   return invoker;
               }
  @@ -122,15 +156,11 @@
               }
           }
   
  -        // TODO: pooling
  -        System.out.println("$$$$$$ EXTERNAL INVOKIN " + portletDefinition.getName());
  -
  +        // create a servlet-based portlet invoker
           try
           {
  -            String className = pc.getConfigurationProperty(INVOKER_SERVLET);
  -            //PortletInvoker invoker = new ServletPortletInvoker(portletDefinition, servletConfig);
  -            invoker = (JetspeedPortletInvoker)Class.forName(className).newInstance();
  -            invoker.activate(portletDefinition, servletConfig);
  +            invoker = servletInvokerFactory.getPortletInvoker();
  +            invoker.activate(portletDefinition, servletConfig);            
               return invoker;
           }
           catch (Throwable t)
  @@ -141,5 +171,5 @@
               return invoker;
           }
       }
  -
  +    
   }
  
  
  
  1.8       +1 -2      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/ServletPortletInvoker.java
  
  Index: ServletPortletInvoker.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/ServletPortletInvoker.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ServletPortletInvoker.java	31 Dec 2003 09:46:35 -0000	1.7
  +++ ServletPortletInvoker.java	7 Jan 2004 22:01:05 -0000	1.8
  @@ -179,7 +179,6 @@
           MutablePortletApplication app = (MutablePortletApplication)portletDefinition.getPortletApplicationDefinition();
   
           String portletApplicationName = app.getWebApplicationDefinition().getContextRoot();
  -        System.out.println("%%% webapp invoker.pa = " + portletApplicationName);
   
           // gather all required data from request and response
           ServletRequest servletRequest = ((javax.servlet.http.HttpServletRequestWrapper)
portletRequest).getRequest();
  
  
  
  1.1                  jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/AbstractPortletInvokerFactory.java
  
  Index: AbstractPortletInvokerFactory.java
  ===================================================================
  /* ====================================================================
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution,
   *    if any, must include the following acknowledgment:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "Apache" and "Apache Software Foundation" and
   *    "Apache Jetspeed" must not be used to endorse or promote products
   *    derived from this software without prior written permission. For
   *    written permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache",
   *    "Apache Jetspeed", nor may "Apache" appear in their name, without
   *    prior written permission of the Apache Software Foundation.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.jetspeed.container.invoker;
  
  import org.apache.commons.pool.BasePoolableObjectFactory;
  import org.apache.commons.pool.ObjectPool;
  import org.apache.commons.pool.impl.StackObjectPool;
  
  /**
   * AbstractPortletInvokerFactory
   *
   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
   * @version $Id: AbstractPortletInvokerFactory.java,v 1.1 2004/01/07 22:01:05 taylor Exp
$
   */
  public abstract class AbstractPortletInvokerFactory
      extends BasePoolableObjectFactory
  {
      /** The pool of local portlet invokers */ 
      protected ObjectPool pool;
      
      protected String invokerClass;    
      protected int invokerPoolSize = 30;
      
      public AbstractPortletInvokerFactory()
      {
      }
      
      /**
       * @param invokerClass
       * @param invokerPoolSize
       */
      public void init(String invokerClass, int invokerPoolSize)
      {
          this.invokerClass = invokerClass;
          this.invokerPoolSize = invokerPoolSize;
          pool = new StackObjectPool(this, invokerPoolSize);        
      }
      
      /**
       * @return
       * @throws Exception
       */
      public JetspeedPortletInvoker getPortletInvoker()
          throws Exception
      {
          return (JetspeedPortletInvoker)pool.borrowObject();
      }
  
      /* (non-Javadoc)
       * @see org.apache.commons.pool.PoolableObjectFactory#passivateObject(java.lang.Object)
       */
      public void passivateObject(Object object) throws Exception 
      {
          JetspeedPortletInvoker invoker = (JetspeedPortletInvoker)object;
          invoker.passivate();        
      }
  
      /* (non-Javadoc)
       * @see org.apache.commons.pool.PoolableObjectFactory#makeObject()
       */
      public Object makeObject() throws Exception
      {
          return Class.forName(invokerClass).newInstance();
      }
      
  }
  
  
  
  1.1                  jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvokerFactory.java
  
  Index: LocalPortletInvokerFactory.java
  ===================================================================
  /* ====================================================================
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution,
   *    if any, must include the following acknowledgment:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "Apache" and "Apache Software Foundation" and
   *    "Apache Jetspeed" must not be used to endorse or promote products
   *    derived from this software without prior written permission. For
   *    written permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache",
   *    "Apache Jetspeed", nor may "Apache" appear in their name, without
   *    prior written permission of the Apache Software Foundation.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.jetspeed.container.invoker;
  
  import org.apache.jetspeed.PortalContext;
  
  /**
   * LocalPortletInvokerFactory
   *
   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
   * @version $Id: LocalPortletInvokerFactory.java,v 1.1 2004/01/07 22:01:05 taylor Exp $
   */
  public class LocalPortletInvokerFactory extends AbstractPortletInvokerFactory
  {
      private String localInvokerClass;
      private int localInvokerPoolSize = 30;
      
      public final static String INVOKER_LOCAL = "factory.invoker.local";
      public final static String INVOKER_LOCAL_POOL_SIZE = "factory.invoker.local.pool.size";
  
      
      /**
       * Create a local portlet invoker factory
       * 
       * @param pc The portal's context to get at the configuration.
       */
      public LocalPortletInvokerFactory(PortalContext pc)
      {
          super();        
          localInvokerClass = pc.getConfigurationProperty(INVOKER_LOCAL);
          localInvokerPoolSize = pc.getConfiguration().getInt(INVOKER_LOCAL_POOL_SIZE);
          init(localInvokerClass, localInvokerPoolSize);        
      }
          
  }
  
  
  
  1.1                  jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/invoker/ServletPortletInvokerFactory.java
  
  Index: ServletPortletInvokerFactory.java
  ===================================================================
  /* ====================================================================
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution,
   *    if any, must include the following acknowledgment:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "Apache" and "Apache Software Foundation" and
   *    "Apache Jetspeed" must not be used to endorse or promote products
   *    derived from this software without prior written permission. For
   *    written permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache",
   *    "Apache Jetspeed", nor may "Apache" appear in their name, without
   *    prior written permission of the Apache Software Foundation.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.jetspeed.container.invoker;
  
  import org.apache.jetspeed.PortalContext;
  
  /**
   * ServletPortletInvokerFactory
   *
   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
   * @version $Id: ServletPortletInvokerFactory.java,v 1.1 2004/01/07 22:01:06 taylor Exp
$
   */
  public class ServletPortletInvokerFactory extends AbstractPortletInvokerFactory
  {
      public final static String INVOKER_SERVLET = "factory.invoker.servlet";
      public final static String INVOKER_SERVLET_POOL_SIZE = "factory.invoker.servlet.pool.size";
      
      public ServletPortletInvokerFactory(PortalContext pc)
      {    
          super();                
          String servletInvokerClass = pc.getConfigurationProperty(INVOKER_SERVLET);     
  
          int servletInvokerPoolSize = pc.getConfiguration().getInt(INVOKER_SERVLET_POOL_SIZE);
          init(servletInvokerClass, servletInvokerPoolSize);                
      }
      
      
  }
  
  
  
  1.19      +3 -1      jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/jetspeed.properties
  
  Index: jetspeed.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/jetspeed.properties,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- jetspeed.properties	6 Jan 2004 19:31:31 -0000	1.18
  +++ jetspeed.properties	7 Jan 2004 22:01:06 -0000	1.19
  @@ -70,7 +70,9 @@
   
   # invokers
   factory.invoker.servlet = org.apache.jetspeed.container.invoker.ServletPortletInvoker
  +factory.invoker.servlet.pool.size = 20
   factory.invoker.local = org.apache.jetspeed.container.invoker.LocalPortletInvoker
  +factory.invoker.local.pool.size = 20
   
   ## Pluto Factory
   plutofactory.javax.portlet.ActionRequest = org.apache.pluto.factory.impl.ActionRequestFactoryImpl
  
  
  

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


Mime
View raw message