annotate gnv-artifacts/doc/conf/arcsdeconnectionpool.properties @ 525:0eba2f032e0d

Set serverRoundtripInterval to 5 seconds and serverInactiveInterval to 5 minutes. gnv-artifacts/trunk@620 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 25 Jan 2010 13:48:52 +0000
parents 40a058047854
children
rev   line source
257
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
1 ###############################################################################
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
2 ###############################################################################
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
3 # In this File it is possible to configure the Connectionpool to the the
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
4 # ArcSDE-DataBackend.
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
5 # maxActive: Number of maximal Connection which can be used.
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
6 # testOnBorrow: Should the Pool test the Connection which will be borrowed
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
7 # if it is Valid
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
8 # testOnReturn: Should the Pool test the Connection which will be returned
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
9 # if it is Valid
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
10 # testWhileIdle: Should the Pool test the Connection while it is Idl
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
11 # if it is Valid
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
12 # timeBetweenEvictionRunsMillis : Time in Milliseconds which is allowed
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
13 # to reused a returned Connection.
477
40a058047854 Added the Configurationproperty serverRoundtripInterval to the Configuration of the Connectionpool.
Tim Englich <tim.englich@intevation.de>
parents: 257
diff changeset
14 # serverRoundtripInterval : The Timea ArcSDE-Connection must nor be used until
40a058047854 Added the Configurationproperty serverRoundtripInterval to the Configuration of the Connectionpool.
Tim Englich <tim.englich@intevation.de>
parents: 257
diff changeset
15 # the Connection will test if it is valid.
257
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
16 # server: The URL of the Server where the Database is reachable.
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
17 # username: The Username which should be used to Connect to the Databackend.
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
18 # credentials: The Credentials to the given username
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
19 # port: The Communicationport which must be used to connect to the Databackend
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
20 # database: The Name of the Instance which should be connected to.
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
21 ###############################################################################
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
22 ###############################################################################
b198ca47f363 Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents: 202
diff changeset
23
202
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
24 maxActive=2
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
25 testOnBorrow=true
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
26 testOnReturn=false
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
27 testWhileIdle=false
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
28 timeBetweenEvictionRunsMillis=360000
525
0eba2f032e0d Set serverRoundtripInterval to 5 seconds and serverInactiveInterval to 5 minutes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 477
diff changeset
29 serverRoundtripInterval=5
0eba2f032e0d Set serverRoundtripInterval to 5 seconds and serverInactiveInterval to 5 minutes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 477
diff changeset
30 serverInactiveInterval=300
202
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
31 server=localhost
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
32 username=gast
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
33 credentials=gast
d0bad2d374fd Added separat ConnectionPoolPrperties to this Project.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
34 port=22119
525
0eba2f032e0d Set serverRoundtripInterval to 5 seconds and serverInactiveInterval to 5 minutes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 477
diff changeset
35 database=esri_sde

http://dive4elements.wald.intevation.org