~ubuntu-branches/ubuntu/lucid/libstruts1.2-java/lucid

« back to all changes in this revision

Viewing changes to contrib/artimus/WEB-INF/src/conf/poolman.xml

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2006-04-24 12:14:23 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060424121423-naev53qigqgks0sa
Tags: 1.2.9-1
New upstream  release Fixes  three security  problems: CVE-2006-1546,
CVE-2006-1547,  CVE-2006-1548  (closes:  #360551),  thanks  to  Moritz
Muehlenhoff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
 
3
 
<poolman>
4
 
 
5
 
  <management-mode>local</management-mode>
6
 
 
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
 
  <!-- ========================================================== -->
13
 
 
14
 
  <datasource>
15
 
 
16
 
    <!-- ============================== -->
17
 
    <!-- Physical Connection Attributes -->
18
 
    <!-- ============================== -->
19
 
 
20
 
    <!-- Standard JDBC Driver info -->
21
 
 
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>
26
 
 
27
 
    <username>root</username>
28
 
    <password></password>
29
 
 
30
 
    <minimumSize>0</minimumSize>
31
 
    <maximumSize>10</maximumSize>
32
 
    <connectionTimeout>600</connectionTimeout>
33
 
    <userTimeout>12</userTimeout>
34
 
    <shrinkBy>10</shrinkBy>
35
 
 
36
 
    <logFile>/var/applogs/poolman.log</logFile>
37
 
    <debugging>false</debugging>
38
 
 
39
 
    <!-- Query Cache Attributes-->
40
 
 
41
 
    <cacheEnabled>true</cacheEnabled>
42
 
    <cacheSize>20</cacheSize>
43
 
    <cacheRefreshInterval>120</cacheRefreshInterval>
44
 
 
45
 
  </datasource>
46
 
 
47
 
  <datasource>
48
 
 
49
 
    <!-- ============================== -->
50
 
    <!-- Physical Connection Attributes -->
51
 
    <!-- ============================== -->
52
 
 
53
 
    <!-- Standard JDBC Driver info -->
54
 
 
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>
59
 
 
60
 
    <username>root</username>
61
 
    <password></password>
62
 
 
63
 
    <minimumSize>0</minimumSize>
64
 
    <maximumSize>10</maximumSize>
65
 
    <connectionTimeout>600</connectionTimeout>
66
 
    <userTimeout>12</userTimeout>
67
 
    <shrinkBy>10</shrinkBy>
68
 
 
69
 
    <logFile>/var/applogs/poolman.log</logFile>
70
 
    <debugging>false</debugging>
71
 
 
72
 
    <!-- Query Cache Attributes-->
73
 
 
74
 
    <cacheEnabled>true</cacheEnabled>
75
 
    <cacheSize>20</cacheSize>
76
 
    <cacheRefreshInterval>120</cacheRefreshInterval>
77
 
 
78
 
  </datasource>
79
 
 
80
 
  <!-- DISABLED FOR PRODUCTION
81
 
  <admin-agent>
82
 
    <class>com.sun.jdmk.comm.HtmlAdaptorServer</class>
83
 
    <name>Adaptor:name=html</name>
84
 
    <maxClients>10</maxClients>
85
 
    <port>8082</port>
86
 
  </admin-agent>
87
 
  -->
88
 
 
89
 
</poolman>
90
 
 
91
 
 
92
 
 
93