|
|
@@ -7,9 +7,9 @@
|
|
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
|
|
http://www.springframework.org/schema/context
|
|
|
http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
|
|
- http://www.springframework.org/schema/aop
|
|
|
+ http://www.springframework.org/schema/aop
|
|
|
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
|
|
|
- http://www.springframework.org/schema/tx
|
|
|
+ http://www.springframework.org/schema/tx
|
|
|
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
|
|
|
<context:annotation-config />
|
|
|
<bean id="popsConfig" class="com.yw.core.common.MutilPropertyPlaceholderConfigurer">
|
|
|
@@ -19,15 +19,15 @@
|
|
|
</list>
|
|
|
</property>
|
|
|
</bean>
|
|
|
- <context:component-scan base-package="com.yw.oa"/>
|
|
|
-
|
|
|
+ <context:component-scan base-package="com.yw.oa"/>
|
|
|
+
|
|
|
<bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource"
|
|
|
destroy-method="close">
|
|
|
<property name="url" value="${jdbc.url}" />
|
|
|
<property name="username" value="${jdbc.username}" />
|
|
|
<property name="password" value="${jdbc.password}" />
|
|
|
<property name="filters" value="stat" />
|
|
|
- <property name="maxActive" value="20" />
|
|
|
+ <property name="maxActive" value="200" />
|
|
|
<property name="initialSize" value="1" />
|
|
|
<property name="maxWait" value="60000" />
|
|
|
<property name="minIdle" value="1" />
|
|
|
@@ -70,4 +70,4 @@
|
|
|
|
|
|
<tx:annotation-driven transaction-manager="transactionManager" />
|
|
|
<bean class="com.yw.core.utils.SpringUtil" />
|
|
|
-</beans>
|
|
|
+</beans>
|