Energy project XML file tag interpretation--datasource

Source: Internet
Author: User

<BeanID= "DataSource1"class= "Org.apache.tomcat.jdbc.pool.DataSource"Destroy-method= "Close">        < Propertyname= "Poolproperties">            <Beanclass= "Org.apache.tomcat.jdbc.pool.PoolProperties">                < Propertyname= "Driverclassname"value= "Com.mysql.jdbc.Driver" />                < Propertyname= "url"value= "${jdbc.url}" />                < Propertyname= "username"value= "${jdbc.user}" />                < Propertyname= "Password"value= "${jdbc.password}" />                <!--Register the pool with JMX. In order for the connection pool object to create the MBean.  -                < Propertyname= "jmxenabled"value= "true" />                <!--The indication of whether objects would be validated by the idle object evictor. -                < Propertyname= "Testwhileidle"value= "true" />                <!--The indication of whether objects would be a validated before being borrowed from the pool. -                < Propertyname= "Testonborrow"value= "false" />                < Propertyname= "Testonreturn"value= "false" />                < Propertyname= "InitialSize"value= "${jdbc.initialpoolsize}" />                < Propertyname= "Maxactive"value= "${jdbc.maxactive}" />                < Propertyname= "Maxwait"value= "${jdbc.maxwait}" />                < Propertyname= "Minidle"value= "${jdbc.minidle}" />                < Propertyname= "Maxidle"value= "${jdbc.maxidle}" />                < Propertyname= "MaxAge"value= "60000" />                <!--The number of milliseconds to sleep between runs of the idle connection Validation/cleaner thread. -                < Propertyname= "Timebetweenevictionrunsmillis"value= "15000" />                <!--The minimum amount of time an object could sit idle in the pool before it was eligible for eviction. -                < Propertyname= "Minevictableidletimemillis"value= "60000" />                < Propertyname= "removeabandoned"value= "true" />                < Propertyname= "Removeabandonedtimeout"value= "+" />                < Propertyname= "Validationquery"value= "Select 1" />                < Propertyname= "Validationinterval"value= "30000" />            </Bean>        </ Property>    </Bean>

Energy project XML file tag interpretation--datasource

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.