portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/resources jetspeed.xml
Date Wed, 04 Feb 2004 21:46:54 GMT
weaver      2004/02/04 13:46:54

  Modified:    portal/src/resources jetspeed.xml
  Log:
  added JNDI datsource configuration information
  
  Revision  Changes    Path
  1.2       +57 -1     jakarta-jetspeed-2/portal/src/resources/jetspeed.xml
  
  Index: jetspeed.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/resources/jetspeed.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jetspeed.xml	14 Oct 2003 22:18:36 -0000	1.1
  +++ jetspeed.xml	4 Feb 2004 21:46:54 -0000	1.2
  @@ -1 +1,57 @@
  -<Context path="/jetspeed" docBase="jetspeed" crossContext="true"/>
  +<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>sa</value>
  +    </parameter>
  +    <parameter>
  +     <name>password</name>
  +     <value></value>
  +    </parameter>
  +
  +    <!-- Class name for HSQL JDBC driver -->
  +    <parameter>
  +       <name>driverClassName</name>
  +       <value>org.hsqldb.jdbcDriver</value>
  +    </parameter>
  +
  +    <!-- The JDBC connection url for connecting to your HSQL dB.  -->
  +    <parameter>
  +      <name>url</name>
  +      <value>jdbc:hsqldb:hsql://127.0.0.1</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


Mime
View raw message