1
<?xml version="1.0" encoding="UTF-8"?>
5
<management-mode>local</management-mode>
7
<!-- ========================================================== -->
8
<!-- These entries are an example of JDBC Connection pooling. -->
9
<!-- Many of the parameters are optional. Consult the -->
10
<!-- UsersGuide.html doument and the poolman.xml.template file -->
11
<!-- for guidance and element definitions. -->
12
<!-- ========================================================== -->
16
<!-- ============================== -->
17
<!-- Physical Connection Attributes -->
18
<!-- ============================== -->
20
<!-- Standard JDBC Driver info -->
22
<dbname>DATASOURCE</dbname>
23
<jndiName>jndi-datasource</jndiName>
24
<driver>org.gjt.mm.mysql.Driver</driver>
25
<url>jdbc:mysql://localhost:3306/artimus</url>
27
<username>root</username>
30
<minimumSize>0</minimumSize>
31
<maximumSize>10</maximumSize>
32
<connectionTimeout>600</connectionTimeout>
33
<userTimeout>12</userTimeout>
34
<shrinkBy>10</shrinkBy>
36
<logFile>/var/applogs/poolman.log</logFile>
37
<debugging>false</debugging>
39
<!-- Query Cache Attributes-->
41
<cacheEnabled>true</cacheEnabled>
42
<cacheSize>20</cacheSize>
43
<cacheRefreshInterval>120</cacheRefreshInterval>
49
<!-- ============================== -->
50
<!-- Physical Connection Attributes -->
51
<!-- ============================== -->
53
<!-- Standard JDBC Driver info -->
55
<dbname>WIZARD</dbname>
56
<jndiName>jndi-wizard</jndiName>
57
<driver>org.gjt.mm.mysql.Driver</driver>
58
<url>jdbc:mysql://localhost:3306/struts_wizard</url>
60
<username>root</username>
63
<minimumSize>0</minimumSize>
64
<maximumSize>10</maximumSize>
65
<connectionTimeout>600</connectionTimeout>
66
<userTimeout>12</userTimeout>
67
<shrinkBy>10</shrinkBy>
69
<logFile>/var/applogs/poolman.log</logFile>
70
<debugging>false</debugging>
72
<!-- Query Cache Attributes-->
74
<cacheEnabled>true</cacheEnabled>
75
<cacheSize>20</cacheSize>
76
<cacheRefreshInterval>120</cacheRefreshInterval>
80
<!-- DISABLED FOR PRODUCTION
82
<class>com.sun.jdmk.comm.HtmlAdaptorServer</class>
83
<name>Adaptor:name=html</name>
84
<maxClients>10</maxClients>