2 ###################### PostgreSQL DataSource configuration example
7 # DataSource configuration
11 datasource.url jdbc:mysql://REPLACE_MYSQL1_HOST:3306/rubbos
12 datasource.classname com.mysql.jdbc.Driver
14 datasource.username rubbos
15 datasource.password rubbos
19 # ConnectionManager configuration
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
28 # Max age for jdbc connections
29 # nb of minutes a connection can be kept in the pool
32 # Max concurrent threads on same tx/connection
33 # (not used with a customized jdbc datasource)
36 # Max wait time if more than connmaxthreads threads request conn
38 # (not used with a customized jdbc datasource)
39 jdbc.connexcltimeout 30
42 jdbc.connteststmt select 1
46 # Customizing JDBC DataSource configuration
49 # Name of the class implementing the XADataSource
50 #datasource.factory org.objectweb.jonas.dbm.JonasStandardXADataSource
52 # JNDI name use to bind the XADataSource
53 #datasource.xadataname postgre1_xa
55 # Minimum number of physical connection used by the XADataSource
58 # Maximum number of physical connection used by the XADataSource
61 # Minimum number of XAConnection used by the pool
64 # Maximum number of XAConnection used by the pool
67 # Time between two clean-up of old unused connection
68 # (value is in millisecond)
69 #jdbc.sleeptimepool 300000
71 # Force the gc to be launched when cleaning up
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
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