zoukankan      html  css  js  c++  java
  • tomcat datasource

     <Resource name="jdbc/xxx" auth="Container" type="javax.sql.DataSource"

    factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" testWhileIdle="true"

    testOnBorrow="true" testOnReturn="false" validationQuery="SELECT 1"

    validationInterval="30000" timeBetweenEvictionRunsMillis="30000"

    maxActive="100" minIdle="10" maxWait="10000" initialSize="10"

    removeAbandonedTimeout="60" removeAbandoned="true" logAbandoned="true"

    minEvictableIdleTimeMillis="30000" jmxEnabled="true"

    jdbcInterceptors="org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;

                org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer"

    username="xxx" password="xxx" driverClassName="com.mysql.jdbc.Driver"

    url="jdbc:mysql://localhost:3306/xxx?useUnicode=true&amp;characterEncoding=utf8" />

  • 相关阅读:
    poj 2000
    poj1316
    poj1922
    poj2017
    poj1833 排列
    poj1338
    poj2136
    poj2242
    IE兼容html5标签
    绑定事件后,某些情况下需要解绑该事件
  • 原文地址:https://www.cnblogs.com/anjuncc/p/5294043.html
Copyright © 2011-2022 走看看