Subversion Repositories SmartDukaan

Rev

Rev 2280 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2280 Rev 3474
Line 6... Line 6...
6
	under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
6
	under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
7
	OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
7
	OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
8
	the specific language governing permissions and limitations under the License. -->
8
	the specific language governing permissions and limitations under the License. -->
9
 
9
 
10
<beans xmlns="http://www.springframework.org/schema/beans"
10
<beans xmlns="http://www.springframework.org/schema/beans"
-
 
11
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
12
	xmlns:aop="http://www.springframework.org/schema/aop"
-
 
13
	xmlns:tx="http://www.springframework.org/schema/tx"
12
	xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jdbc="http://www.springframework.org/schema/jdbc"
14
	xmlns:jdbc="http://www.springframework.org/schema/jdbc"
13
	xmlns:context="http://www.springframework.org/schema/context"
15
	xmlns:context="http://www.springframework.org/schema/context"
14
	xsi:schemaLocation="
16
	xsi:schemaLocation="
15
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
17
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
16
     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
18
     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
17
     http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
19
     http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
Line 61... Line 63...
61
		<property name="minEvictableIdleTimeMillis" value="7200000" />
63
		<property name="minEvictableIdleTimeMillis" value="7200000" />
62
 
64
 
63
		<!-- The number of milliseconds to sleep between runs of the idle object 
65
		<!-- The number of milliseconds to sleep between runs of the idle object 
64
			evictor thread. When non-positive, no idle object evictor thread will be 
66
			evictor thread. When non-positive, no idle object evictor thread will be 
65
			run. Setting it to 15 minutes. -->
67
			run. Setting it to 15 minutes. -->
66
		<property name="timeBetweenEvictionRunsMillis" value="1800000"></property>
68
		<property name="timeBetweenEvictionRunsMillis" value="900000"></property>
67
 
69
 
68
		<!-- Properties to prevent DB resource leaks -->
70
		<!-- Properties to prevent DB resource leaks -->
69
		<!-- Flag to remove abandoned connections if they exceed the removeAbandonedTimout. 
71
		<!-- Flag to remove abandoned connections if they exceed the removeAbandonedTimout. 
70
			If set to true a connection is considered abandoned and eligible for removal 
72
			If set to true a connection is considered abandoned and eligible for removal 
71
			if it has been idle longer than the removeAbandonedTimeout. Setting this 
73
			if it has been idle longer than the removeAbandonedTimeout. Setting this