You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/06/26 03:42:19 UTC

cvs commit: jakarta-jetspeed/src/resources jetspeed.xml

taylor      2004/06/25 18:42:19

  Added:       src/resources jetspeed.xml
  Log:
  Catalina context for JDBC and cross context invocations
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed/src/resources/jetspeed.xml
  
  Index: jetspeed.xml
  ===================================================================
  <!--
  Copyright 2004 The Apache Software Foundation
  
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
      http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
  <Context path="/jetspeed" docBase="jetspeed" crossContext="true">
  	<ResourceParams name="jdbc/jetspeed">
      <parameter>
        <name>factory</name>
        <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
      </parameter>
  
      <!-- Maximum number of dB connections in pool. Make sure you
           configure your mysqld max_connections large enough to handle
           all of your db connections. Set to 0 for no limit.
           -->
      <parameter>
        <name>maxActive</name>
        <value>100</value>
      </parameter>
  
      <!-- Maximum number of idle dB connections to retain in pool.
           Set to 0 for no limit.
           -->
      <parameter>
        <name>maxIdle</name>
        <value>30</value>
      </parameter>
  
      <!-- Maximum time to wait for a dB connection to become available
           in ms, in this example 10 seconds. An Exception is thrown if
           this timeout is exceeded.  Set to -1 to wait indefinitely.
           -->
      <parameter>
        <name>maxWait</name>
        <value>10000</value>
      </parameter>
  
      <!-- HSQL dB username and password for dB connections  -->
      <parameter>
       <name>username</name>
       <value>@USERNAME@</value>
      </parameter>
      <parameter>
       <name>password</name>
       <value>@PASSWORD@</value>
      </parameter>
  
      <!-- Class name for HSQL JDBC driver -->
      <parameter>
         <name>driverClassName</name>
         <value>@DRIVER@</value>
      </parameter>
  
      <!-- The JDBC connection url for connecting to your HSQL dB.  -->
      <parameter>
        <name>url</name>
        <value>@URL@</value>
      </parameter>
    </ResourceParams>
  
  </Context>
  
  
  

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