Merge "Change PTL informatin in INFO"
[bottlenecks.git] / testsuites / rubbos / rubbos_scripts / 1-1-1 / rubbos_conf / mysql.properties_template
1
2 ###################### PostgreSQL DataSource configuration example
3 #
4
5
6 #####
7 #  DataSource configuration
8 #
9 datasource.name         mysql
10
11 datasource.url          jdbc:mysql://REPLACE_MYSQL1_HOST:3306/rubbos
12 datasource.classname    com.mysql.jdbc.Driver
13
14 datasource.username     rubbos
15 datasource.password     rubbos
16
17
18 #####
19 #  ConnectionManager configuration
20 #
21
22 #  JDBC connection checking level.
23 #     0 = no special checking
24 #     1 = check physical connection is still open before reusing it
25 #     2 = try every connection before reusing it
26 jdbc.connchecklevel     1
27
28 #  Max age for jdbc connections
29 #     nb of minutes a connection can be kept in the pool
30 jdbc.connmaxage         30
31
32 #  Max concurrent threads on same tx/connection
33 #  (not used with a customized jdbc datasource)
34 jdbc.connmaxthreads     4
35
36 #  Max wait time if more than connmaxthreads threads request conn
37 #     value is in seconds
38 #  (not used with a customized jdbc datasource)
39 jdbc.connexcltimeout    30
40
41 #  Test statement
42 jdbc.connteststmt       select 1
43
44
45 ######
46 #  Customizing JDBC DataSource configuration
47 #
48
49 #  Name of the class implementing the XADataSource
50 #datasource.factory     org.objectweb.jonas.dbm.JonasStandardXADataSource
51
52 #  JNDI name use to bind the XADataSource
53 #datasource.xadataname  postgre1_xa
54
55 #  Minimum number of physical connection used by  the XADataSource
56 #datasource.mincon      5
57
58 #  Maximum number of physical connection used by the XADataSource
59 #datasource.maxcon      10
60
61 #  Minimum number of XAConnection used by the pool
62 #jdbc.minconpool        10
63
64 #  Maximum number of XAConnection used by the pool
65 #jdbc.maxconpool        20
66
67 #  Time between two clean-up of old unused connection
68 #  (value is in millisecond)
69 #jdbc.sleeptimepool     300000
70
71 #  Force the gc to be launched when cleaning up
72 #jdbc.gcpool            false
73
74 #  In case of no connection in the pool,
75 #  deadlockpool is the global time to re-try before throwing an exception
76 #  (value is in millisecond)
77 #jdbc.deadlockpool      300000
78
79 #  In case of no connection in the pool,
80 #  loopwaitpool is the unit time to re-try
81 #  (value is in millisecond)
82 #jdbc.loopwaitpool      10000
83