2024-05-08 18:12 DB lock 해결을 위한 DB connection property 수정
This commit is contained in:
parent
e85aeee9c5
commit
86e6b57696
@ -84,8 +84,18 @@
|
|||||||
<property name="password" value="${Globals.Password}" />
|
<property name="password" value="${Globals.Password}" />
|
||||||
<!-- 특정 시간마다 validationQuery를 실행 셋팅 시작 -->
|
<!-- 특정 시간마다 validationQuery를 실행 셋팅 시작 -->
|
||||||
<property name="validationQuery" value="select 1 FROM DUAL" />
|
<property name="validationQuery" value="select 1 FROM DUAL" />
|
||||||
<property name="testWhileIdle" value="true" />
|
<property name="initialSize" value="10" />
|
||||||
|
<property name="minIdle" value="10" />
|
||||||
|
<property name="maxWait" value="30000" />
|
||||||
|
<property name="maxActive" value="100" />
|
||||||
|
<property name="maxIdle" value="100" />
|
||||||
|
<property name="minEvictableIdleTimeMillis" value="60000" />
|
||||||
|
<property name="removeAbandonedTimeout" value="60" />
|
||||||
<property name="timeBetweenEvictionRunsMillis" value="7200000" />
|
<property name="timeBetweenEvictionRunsMillis" value="7200000" />
|
||||||
|
|
||||||
|
<property name="testOnBorrow" value="true" />
|
||||||
|
<property name="testWhileIdle" value="true" />
|
||||||
|
<!-- <property name="timeBetweenEvictionRunsMillis" value="7200000" /> -->
|
||||||
<!-- 특정 시간마다 validationQuery를 실행 셋팅 끝 -->
|
<!-- 특정 시간마다 validationQuery를 실행 셋팅 끝 -->
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|||||||
@ -21,11 +21,14 @@
|
|||||||
<aop:pointcut id="requiredTx"
|
<aop:pointcut id="requiredTx"
|
||||||
expression="
|
expression="
|
||||||
execution(* kcc.let..impl.*Impl.*(..)) or
|
execution(* kcc.let..impl.*Impl.*(..)) or
|
||||||
execution(* kcc.com..*Impl.*(..)) or
|
execution(* kcc.com..*Impl.*(..))
|
||||||
execution(* kcc.ve..*Impl.*(..)) or
|
|
||||||
execution(* kcc.kccadr..*Impl.*(..))
|
|
||||||
"/>
|
"/>
|
||||||
<aop:advisor advice-ref="txAdvice" pointcut-ref="requiredTx" />
|
<aop:advisor advice-ref="txAdvice" pointcut-ref="requiredTx" />
|
||||||
</aop:config>
|
</aop:config>
|
||||||
|
<!--
|
||||||
|
or
|
||||||
|
execution(* kcc.ve..*Impl.*(..)) or
|
||||||
|
execution(* kcc.kccadr..*Impl.*(..))
|
||||||
|
-->
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
|||||||
@ -47,6 +47,9 @@
|
|||||||
<logger name="org.quartz.core.QuartzSchedulerThread" level="OFF"></logger>
|
<logger name="org.quartz.core.QuartzSchedulerThread" level="OFF"></logger>
|
||||||
<logger name="org.quartz.core.JobRunShell" level="OFF"></logger>
|
<logger name="org.quartz.core.JobRunShell" level="OFF"></logger>
|
||||||
<logger name="log4jdbc.debug" level="OFF"></logger>
|
<logger name="log4jdbc.debug" level="OFF"></logger>
|
||||||
|
<Logger name="org.springframework.jdbc.datasource">
|
||||||
|
<level value="OFF"/>
|
||||||
|
</Logger>
|
||||||
|
|
||||||
<Root level="DEBUG">
|
<Root level="DEBUG">
|
||||||
<AppenderRef ref="console" />
|
<AppenderRef ref="console" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user