You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by hu...@apache.org on 2002/08/14 19:49:10 UTC

cvs commit: jakarta-commons-sandbox/scaffold/src/java poolman.xml

husted      2002/08/14 10:49:10

  Added:       scaffold/src/java poolman.xml
  Log:
  [SCAFFOLD] New sandbox component
  
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/scaffold/src/java/poolman.xml
  
  Index: poolman.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <poolman>
  
    <management-mode>local</management-mode>
  
    <!-- ========================================================== -->
    <!-- These entries are an example of JDBC Connection pooling.   -->
    <!-- Many of the parameters are optional. Consult the           -->
    <!-- UsersGuide.html doument and the poolman.xml.template file  -->
    <!-- for guidance and element definitions.                      -->
    <!-- ========================================================== -->
  
    <datasource>
  
      <!-- ============================== -->
      <!-- Physical Connection Attributes -->
      <!-- ============================== -->
  
      <!-- Standard JDBC Driver info -->
  
      <dbname>jdbc-artimus</dbname>
      <jndiName>jndi-artimus</jndiName>
      <driver>org.gjt.mm.mysql.Driver</driver>
      <url>jdbc:mysql://localhost:3306/artimus</url>
  
      <username>root</username>
      <password></password>
  
      <minimumSize>0</minimumSize>
      <maximumSize>10</maximumSize>
      <connectionTimeout>600</connectionTimeout>
      <userTimeout>12</userTimeout>
      <shrinkBy>10</shrinkBy>
  
      <logFile>/var/applogs/poolman-artimus.log</logFile>
      <debugging>false</debugging>
  
      <!-- Query Cache Attributes-->
  
      <cacheEnabled>true</cacheEnabled>
      <cacheSize>20</cacheSize>
      <cacheRefreshInterval>120</cacheRefreshInterval>
  
    </datasource>
  
    <!-- DISABLED FOR PRODUCTION
    <admin-agent>
      <class>com.sun.jdmk.comm.HtmlAdaptorServer</class>
      <name>Adaptor:name=html</name>
      <maxClients>10</maxClients>
      <port>8082</port>
    </admin-agent>
    -->
  
  </poolman>
  
  
  
  
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>