Revision 74:214028f5d496
resources/otpcore.xml | ||
---|---|---|
1 |
<otpcore-configuration> |
|
2 |
<session-factory name="otpcore"> |
|
3 |
<!--proxool alias--> |
|
4 |
<property name="otpcore.proxool.pool_alias">ib_db</property> |
|
5 |
<!--property name {proxool.properties}--> |
|
6 |
<property name="otpcore.proxool.properties">proxool.properties</property> |
|
7 |
<!--autocommit {true or false}--> |
|
8 |
<property name="otpcore.connection.autocommit">true</property> |
|
9 |
<!--isolation {1,2,3,4}--> |
|
10 |
<property name="otpcore.connection.isolation">2</property> |
|
11 |
<!--enable log {true or false}--> |
|
12 |
<property name="otpcore.log.enable">false</property> |
|
13 |
<!--log4j properties {log4j.properties}--> |
|
14 |
<property name="otpcore.log4j.properties">log4j.xml</property> |
|
15 |
<!--cache count {1,2,3...500}--> |
|
16 |
<property name="otpcore.log.cache.count">1</property> |
|
17 |
<!--table prefix {ftotp_}--> |
|
18 |
<property name="otpcore.table.prefix">ftotp_</property> |
|
19 |
<!--user token}--> |
|
20 |
<property name="otpcore.user.token.type">-1</property> |
|
21 |
</session-factory> |
|
22 |
</otpcore-configuration> |
resources/proxool.dev-penril.properties | ||
---|---|---|
1 |
jdbc-0.proxool.alias=ib_db |
|
2 |
|
|
3 |
jdbc-0.proxool.driver-url=jdbc:jtds:sqlserver://10.6.6.21:1433/ib_db |
|
4 |
jdbc-0.proxool.driver-class=net.sourceforge.jtds.jdbc.Driver |
|
5 |
jdbc-0.user=ib_user |
|
6 |
jdbc-0.password=P@$$w0rd |
|
7 |
|
|
8 |
#jdbc-0.proxool.driver-url=jdbc:postgresql://localhost:5432/OTPDB |
|
9 |
#jdbc-0.proxool.driver-class=org.postgresql.Driver |
|
10 |
#jdbc-0.user=postgres |
|
11 |
#jdbc-0.password=1234 |
|
12 |
|
|
13 |
#jdbc-0.proxool.driver-url=jdbc:mysql://192.168.16.33:3306/OTPDB |
|
14 |
#jdbc-0.proxool.driver-class=com.mysql.jdbc.Driver |
|
15 |
#jdbc-0.user=root |
|
16 |
#jdbc-0.password= |
|
17 |
|
|
18 |
#jdbc-0.proxool.driver-url= jdbc:oracle:thin:@127.0.0.1:1521:OTPDB |
|
19 |
#jdbc-0.proxool.driver-class=oracle.jdbc.driver.OracleDriver |
|
20 |
#jdbc-0.user=zengge3 |
|
21 |
#jdbc-0.password=zengge3 |
|
22 |
|
|
23 |
#jdbc-0.proxool.driver-url=jdbc:db2://127.0.0.1:50000/OTPDB |
|
24 |
#jdbc-0.proxool.driver-class=com.ibm.db2.jcc.DB2Driver |
|
25 |
#jdbc-0.user=topnethj |
|
26 |
#jdbc-0.password=273122902 |
|
27 |
|
|
28 |
#jdbc-0.proxool.driver-url=jdbc:sybase:Tds:192.168.16.46:5000/OTPDB |
|
29 |
#jdbc-0.proxool.driver-class=com.sybase.jdbc3.jdbc.SybDriver |
|
30 |
#jdbc-0.user=otpdb |
|
31 |
#jdbc-0.password=otpdb |
|
32 |
|
|
33 |
#jdbc-0.proxool.verbose=true |
|
34 |
#jdbc-0.proxool.house-keeping-sleep-time=10000 |
|
35 |
|
|
36 |
#max connection |
|
37 |
jdbc-0.proxool.maximum-connection-count=8 |
|
38 |
#min connection |
|
39 |
jdbc-0.proxool.minimum-connection-count=2 |
|
40 |
#init connection |
|
41 |
jdbc-0.proxool.minimum-prototype-count=2 |
|
42 |
|
|
43 |
#Failing that an idle connection can be allocated in the queue waiting for the maximum number of requests, |
|
44 |
#more than the number of user connections this request will not be accepted |
|
45 |
|
|
46 |
#jdbc-0.proxool.maximum-new-connections=20 |
|
47 |
|
|
48 |
|
|
49 |
#proxool automatically detect connection state at all time intervals (ms), |
|
50 |
#detected idle connection is immediately recovered, the destruction of overtime |
|
51 |
|
|
52 |
jdbc-0.proxool.house-keeping-sleep-time=40000 |
|
53 |
|
|
54 |
#jdbc-0.proxool.house-keeping-test-sql=select CURRENT_DATE |
|
55 |
|
|
56 |
#If the housekeeper to detect the activities of a thread longer than this value. It will kill this thread. |
|
57 |
#So sure about your server bandwidth. |
|
58 |
#And then set an appropriate value. The default is 5 minutes. |
|
59 |
|
|
60 |
jdbc-0.proxool.maximum-active-time=300000 |
|
61 |
|
|
62 |
#Do not write the log |
|
63 |
|
|
64 |
jdbc-0.proxool.trace=false |
|
65 |
|
|
66 |
#Before using the connection is used to specify whether you want to test |
|
67 |
|
|
68 |
#jdbc-0.proxool.testBeforeUse=false |
|
69 |
|
resources/proxool.maybank-dev.properties | ||
---|---|---|
1 |
jdbc-0.proxool.alias=ib_db |
|
2 |
|
|
3 |
#jdbc-0.proxool.driver-url=jdbc:jtds:sqlserver://192.168.56.2:1433/ci-db |
|
4 |
jdbc-0.proxool.driver-url=jdbc:jtds:sqlserver://demosvr1.penril.net:1433/ci-db |
|
5 |
jdbc-0.proxool.driver-class=net.sourceforge.jtds.jdbc.Driver |
|
6 |
jdbc-0.user=ci-user |
|
7 |
jdbc-0.password=ci-123 |
|
8 |
|
|
9 |
#jdbc-0.proxool.driver-url=jdbc:postgresql://localhost:5432/OTPDB |
|
10 |
#jdbc-0.proxool.driver-class=org.postgresql.Driver |
|
11 |
#jdbc-0.user=postgres |
|
12 |
#jdbc-0.password=1234 |
|
13 |
|
|
14 |
#jdbc-0.proxool.driver-url=jdbc:mysql://192.168.16.33:3306/OTPDB |
|
15 |
#jdbc-0.proxool.driver-class=com.mysql.jdbc.Driver |
|
16 |
#jdbc-0.user=root |
|
17 |
#jdbc-0.password= |
|
18 |
|
|
19 |
#jdbc-0.proxool.driver-url= jdbc:oracle:thin:@127.0.0.1:1521:OTPDB |
|
20 |
#jdbc-0.proxool.driver-class=oracle.jdbc.driver.OracleDriver |
|
21 |
#jdbc-0.user=zengge3 |
|
22 |
#jdbc-0.password=zengge3 |
|
23 |
|
|
24 |
#jdbc-0.proxool.driver-url=jdbc:db2://127.0.0.1:50000/OTPDB |
|
25 |
#jdbc-0.proxool.driver-class=com.ibm.db2.jcc.DB2Driver |
|
26 |
#jdbc-0.user=topnethj |
|
27 |
#jdbc-0.password=273122902 |
|
28 |
|
|
29 |
#jdbc-0.proxool.driver-url=jdbc:sybase:Tds:192.168.16.46:5000/OTPDB |
|
30 |
#jdbc-0.proxool.driver-class=com.sybase.jdbc3.jdbc.SybDriver |
|
31 |
#jdbc-0.user=otpdb |
|
32 |
#jdbc-0.password=otpdb |
|
33 |
|
|
34 |
#jdbc-0.proxool.verbose=true |
|
35 |
#jdbc-0.proxool.house-keeping-sleep-time=10000 |
|
36 |
|
|
37 |
#max connection |
|
38 |
jdbc-0.proxool.maximum-connection-count=8 |
|
39 |
#min connection |
|
40 |
jdbc-0.proxool.minimum-connection-count=2 |
|
41 |
#init connection |
|
42 |
jdbc-0.proxool.minimum-prototype-count=2 |
|
43 |
|
|
44 |
#Failing that an idle connection can be allocated in the queue waiting for the maximum number of requests, |
|
45 |
#more than the number of user connections this request will not be accepted |
|
46 |
|
|
47 |
#jdbc-0.proxool.maximum-new-connections=20 |
|
48 |
|
|
49 |
|
|
50 |
#proxool automatically detect connection state at all time intervals (ms), |
|
51 |
#detected idle connection is immediately recovered, the destruction of overtime |
|
52 |
|
|
53 |
jdbc-0.proxool.house-keeping-sleep-time=40000 |
|
54 |
|
|
55 |
#jdbc-0.proxool.house-keeping-test-sql=select CURRENT_DATE |
|
56 |
|
|
57 |
#If the housekeeper to detect the activities of a thread longer than this value. It will kill this thread. |
|
58 |
#So sure about your server bandwidth. |
|
59 |
#And then set an appropriate value. The default is 5 minutes. |
|
60 |
|
|
61 |
jdbc-0.proxool.maximum-active-time=300000 |
|
62 |
|
|
63 |
#Do not write the log |
|
64 |
|
|
65 |
jdbc-0.proxool.trace=false |
|
66 |
|
|
67 |
#Before using the connection is used to specify whether you want to test |
|
68 |
|
|
69 |
#jdbc-0.proxool.testBeforeUse=false |
|
70 |
|
resources/proxool.maybank-prod.properties | ||
---|---|---|
1 |
jdbc-0.proxool.alias=ib_db |
|
2 |
|
|
3 |
#jdbc-0.proxool.driver-url=jdbc:jtds:sqlserver://192.168.56.2:1433/ci-db |
|
4 |
jdbc-0.proxool.driver-url=jdbc:jtds:sqlserver://demosvr1.penril.net:1433/ci-db |
|
5 |
jdbc-0.proxool.driver-class=net.sourceforge.jtds.jdbc.Driver |
|
6 |
jdbc-0.user=ci-user |
|
7 |
jdbc-0.password=ci-123 |
|
8 |
|
|
9 |
#jdbc-0.proxool.driver-url=jdbc:postgresql://localhost:5432/OTPDB |
|
10 |
#jdbc-0.proxool.driver-class=org.postgresql.Driver |
|
11 |
#jdbc-0.user=postgres |
|
12 |
#jdbc-0.password=1234 |
|
13 |
|
|
14 |
#jdbc-0.proxool.driver-url=jdbc:mysql://192.168.16.33:3306/OTPDB |
|
15 |
#jdbc-0.proxool.driver-class=com.mysql.jdbc.Driver |
|
16 |
#jdbc-0.user=root |
|
17 |
#jdbc-0.password= |
|
18 |
|
|
19 |
#jdbc-0.proxool.driver-url= jdbc:oracle:thin:@127.0.0.1:1521:OTPDB |
|
20 |
#jdbc-0.proxool.driver-class=oracle.jdbc.driver.OracleDriver |
|
21 |
#jdbc-0.user=zengge3 |
|
22 |
#jdbc-0.password=zengge3 |
|
23 |
|
|
24 |
#jdbc-0.proxool.driver-url=jdbc:db2://127.0.0.1:50000/OTPDB |
|
25 |
#jdbc-0.proxool.driver-class=com.ibm.db2.jcc.DB2Driver |
|
26 |
#jdbc-0.user=topnethj |
|
27 |
#jdbc-0.password=273122902 |
|
28 |
|
|
29 |
#jdbc-0.proxool.driver-url=jdbc:sybase:Tds:192.168.16.46:5000/OTPDB |
|
30 |
#jdbc-0.proxool.driver-class=com.sybase.jdbc3.jdbc.SybDriver |
|
31 |
#jdbc-0.user=otpdb |
|
32 |
#jdbc-0.password=otpdb |
|
33 |
|
|
34 |
#jdbc-0.proxool.verbose=true |
|
35 |
#jdbc-0.proxool.house-keeping-sleep-time=10000 |
|
36 |
|
|
37 |
#max connection |
|
38 |
jdbc-0.proxool.maximum-connection-count=8 |
|
39 |
#min connection |
|
40 |
jdbc-0.proxool.minimum-connection-count=2 |
|
41 |
#init connection |
|
42 |
jdbc-0.proxool.minimum-prototype-count=2 |
|
43 |
|
|
44 |
#Failing that an idle connection can be allocated in the queue waiting for the maximum number of requests, |
|
45 |
#more than the number of user connections this request will not be accepted |
|
46 |
|
|
47 |
#jdbc-0.proxool.maximum-new-connections=20 |
|
48 |
|
|
49 |
|
|
50 |
#proxool automatically detect connection state at all time intervals (ms), |
|
51 |
#detected idle connection is immediately recovered, the destruction of overtime |
|
52 |
|
|
53 |
jdbc-0.proxool.house-keeping-sleep-time=40000 |
|
54 |
|
|
55 |
#jdbc-0.proxool.house-keeping-test-sql=select CURRENT_DATE |
|
56 |
|
|
57 |
#If the housekeeper to detect the activities of a thread longer than this value. It will kill this thread. |
|
58 |
#So sure about your server bandwidth. |
|
59 |
#And then set an appropriate value. The default is 5 minutes. |
|
60 |
|
|
61 |
jdbc-0.proxool.maximum-active-time=300000 |
|
62 |
|
|
63 |
#Do not write the log |
|
64 |
|
|
65 |
jdbc-0.proxool.trace=false |
|
66 |
|
|
67 |
#Before using the connection is used to specify whether you want to test |
|
68 |
|
|
69 |
#jdbc-0.proxool.testBeforeUse=false |
|
70 |
|
resources/proxool.properties | ||
---|---|---|
1 |
jdbc-0.proxool.alias=ib_db |
|
2 |
|
|
3 |
jdbc-0.proxool.driver-url=jdbc:jtds:sqlserver://10.6.6.21:1433/ib_db |
|
4 |
jdbc-0.proxool.driver-class=net.sourceforge.jtds.jdbc.Driver |
|
5 |
jdbc-0.user=ib_user |
|
6 |
jdbc-0.password=P@$$w0rd |
|
7 |
|
|
8 |
#jdbc-0.proxool.driver-url=jdbc:postgresql://localhost:5432/OTPDB |
|
9 |
#jdbc-0.proxool.driver-class=org.postgresql.Driver |
|
10 |
#jdbc-0.user=postgres |
|
11 |
#jdbc-0.password=1234 |
|
12 |
|
|
13 |
#jdbc-0.proxool.driver-url=jdbc:mysql://192.168.16.33:3306/OTPDB |
|
14 |
#jdbc-0.proxool.driver-class=com.mysql.jdbc.Driver |
|
15 |
#jdbc-0.user=root |
|
16 |
#jdbc-0.password= |
|
17 |
|
|
18 |
#jdbc-0.proxool.driver-url= jdbc:oracle:thin:@127.0.0.1:1521:OTPDB |
|
19 |
#jdbc-0.proxool.driver-class=oracle.jdbc.driver.OracleDriver |
|
20 |
#jdbc-0.user=zengge3 |
|
21 |
#jdbc-0.password=zengge3 |
|
22 |
|
|
23 |
#jdbc-0.proxool.driver-url=jdbc:db2://127.0.0.1:50000/OTPDB |
|
24 |
#jdbc-0.proxool.driver-class=com.ibm.db2.jcc.DB2Driver |
|
25 |
#jdbc-0.user=topnethj |
|
26 |
#jdbc-0.password=273122902 |
|
27 |
|
|
28 |
#jdbc-0.proxool.driver-url=jdbc:sybase:Tds:192.168.16.46:5000/OTPDB |
|
29 |
#jdbc-0.proxool.driver-class=com.sybase.jdbc3.jdbc.SybDriver |
|
30 |
#jdbc-0.user=otpdb |
|
31 |
#jdbc-0.password=otpdb |
|
32 |
|
|
33 |
#jdbc-0.proxool.verbose=true |
|
34 |
#jdbc-0.proxool.house-keeping-sleep-time=10000 |
|
35 |
|
|
36 |
#max connection |
|
37 |
jdbc-0.proxool.maximum-connection-count=8 |
|
38 |
#min connection |
|
39 |
jdbc-0.proxool.minimum-connection-count=2 |
|
40 |
#init connection |
|
41 |
jdbc-0.proxool.minimum-prototype-count=2 |
|
42 |
|
|
43 |
#Failing that an idle connection can be allocated in the queue waiting for the maximum number of requests, |
|
44 |
#more than the number of user connections this request will not be accepted |
|
45 |
|
|
46 |
#jdbc-0.proxool.maximum-new-connections=20 |
|
47 |
|
|
48 |
|
|
49 |
#proxool automatically detect connection state at all time intervals (ms), |
|
50 |
#detected idle connection is immediately recovered, the destruction of overtime |
|
51 |
|
|
52 |
jdbc-0.proxool.house-keeping-sleep-time=40000 |
|
53 |
|
|
54 |
#jdbc-0.proxool.house-keeping-test-sql=select CURRENT_DATE |
|
55 |
|
|
56 |
#If the housekeeper to detect the activities of a thread longer than this value. It will kill this thread. |
|
57 |
#So sure about your server bandwidth. |
|
58 |
#And then set an appropriate value. The default is 5 minutes. |
|
59 |
|
|
60 |
jdbc-0.proxool.maximum-active-time=300000 |
|
61 |
|
|
62 |
#Do not write the log |
|
63 |
|
|
64 |
jdbc-0.proxool.trace=false |
|
65 |
|
|
66 |
#Before using the connection is used to specify whether you want to test |
|
67 |
|
|
68 |
#jdbc-0.proxool.testBeforeUse=false |
|
69 |
|
resources/proxool.staging-ci.properties | ||
---|---|---|
1 |
jdbc-0.proxool.alias=ib_db |
|
2 |
|
|
3 |
#jdbc-0.proxool.driver-url=jdbc:jtds:sqlserver://192.168.56.2:1433/ci-db |
|
4 |
jdbc-0.proxool.driver-url=jdbc:jtds:sqlserver://demosvr1.penril.net:1433/ci-db |
|
5 |
jdbc-0.proxool.driver-class=net.sourceforge.jtds.jdbc.Driver |
|
6 |
jdbc-0.user=ci-user |
|
7 |
jdbc-0.password=ci-123 |
|
8 |
|
|
9 |
#jdbc-0.proxool.driver-url=jdbc:postgresql://localhost:5432/OTPDB |
|
10 |
#jdbc-0.proxool.driver-class=org.postgresql.Driver |
|
11 |
#jdbc-0.user=postgres |
|
12 |
#jdbc-0.password=1234 |
|
13 |
|
|
14 |
#jdbc-0.proxool.driver-url=jdbc:mysql://192.168.16.33:3306/OTPDB |
|
15 |
#jdbc-0.proxool.driver-class=com.mysql.jdbc.Driver |
|
16 |
#jdbc-0.user=root |
|
17 |
#jdbc-0.password= |
|
18 |
|
|
19 |
#jdbc-0.proxool.driver-url= jdbc:oracle:thin:@127.0.0.1:1521:OTPDB |
|
20 |
#jdbc-0.proxool.driver-class=oracle.jdbc.driver.OracleDriver |
|
21 |
#jdbc-0.user=zengge3 |
|
22 |
#jdbc-0.password=zengge3 |
|
23 |
|
|
24 |
#jdbc-0.proxool.driver-url=jdbc:db2://127.0.0.1:50000/OTPDB |
|
25 |
#jdbc-0.proxool.driver-class=com.ibm.db2.jcc.DB2Driver |
|
26 |
#jdbc-0.user=topnethj |
|
27 |
#jdbc-0.password=273122902 |
|
28 |
|
|
29 |
#jdbc-0.proxool.driver-url=jdbc:sybase:Tds:192.168.16.46:5000/OTPDB |
|
30 |
#jdbc-0.proxool.driver-class=com.sybase.jdbc3.jdbc.SybDriver |
|
31 |
#jdbc-0.user=otpdb |
|
32 |
#jdbc-0.password=otpdb |
|
33 |
|
|
34 |
#jdbc-0.proxool.verbose=true |
|
35 |
#jdbc-0.proxool.house-keeping-sleep-time=10000 |
|
36 |
|
|
37 |
#max connection |
|
38 |
jdbc-0.proxool.maximum-connection-count=8 |
|
39 |
#min connection |
|
40 |
jdbc-0.proxool.minimum-connection-count=2 |
|
41 |
#init connection |
|
42 |
jdbc-0.proxool.minimum-prototype-count=2 |
|
43 |
|
|
44 |
#Failing that an idle connection can be allocated in the queue waiting for the maximum number of requests, |
|
45 |
#more than the number of user connections this request will not be accepted |
|
46 |
|
|
47 |
#jdbc-0.proxool.maximum-new-connections=20 |
|
48 |
|
|
49 |
|
|
50 |
#proxool automatically detect connection state at all time intervals (ms), |
|
51 |
#detected idle connection is immediately recovered, the destruction of overtime |
|
52 |
|
|
53 |
jdbc-0.proxool.house-keeping-sleep-time=40000 |
|
54 |
|
|
55 |
#jdbc-0.proxool.house-keeping-test-sql=select CURRENT_DATE |
|
56 |
|
|
57 |
#If the housekeeper to detect the activities of a thread longer than this value. It will kill this thread. |
|
58 |
#So sure about your server bandwidth. |
|
59 |
#And then set an appropriate value. The default is 5 minutes. |
|
60 |
|
|
61 |
jdbc-0.proxool.maximum-active-time=300000 |
|
62 |
|
|
63 |
#Do not write the log |
|
64 |
|
|
65 |
jdbc-0.proxool.trace=false |
|
66 |
|
|
67 |
#Before using the connection is used to specify whether you want to test |
|
68 |
|
|
69 |
#jdbc-0.proxool.testBeforeUse=false |
|
70 |
|
resources/upass.cfg | ||
---|---|---|
1 |
# Flag to get parameters from Database |
|
2 |
DB_USE_SETTING=1 |
Also available in: Unified diff